Part Number Hot Search : 
LVC1G0 C7534 11EWA TF155A XFGIB 01D105 P202K HD1107R
Product Description
Full Text Search
 

To Download N25Q128 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  february 2010 rev 1.0 1/185 1 N25Q128 128-mbit, 1.8 v, multiple i/o, 4-kbyte subsector erase on boot sectors, xip enabled, serial flash memory with 108 mhz spi bus interface features ? spi-compatible serial bus interface ? 108 mhz (maximum) clock frequency ? 1.7 v to 2 v single supply voltage ? supports legacy spi protocol and new quad i/o or dual i/o spi protocol ? quad/dual i/o instructio ns resulting in an equivalent clock frequency up to 432 mhz: ? xip mode for all three protocols ? configurable via volatile or non-volatile registers ( enabling the memory to work in xip mode directly after power on ) ? program/erase suspend instructions ? continuous read of entire memory via single instruction: ?fast read ? quad or dual output fast read ? quad or dual i/o fast read ? flexible to fit application: ? configurable numb er of dummy cycles ? output buffer configurable ? fast por instruction: to speed up power on phase ? reset function available upon customer request ? 64-byte user-lockable, one-time programmable (otp) area ? erase capability ? subsector (4-kbyte) granularity in the 8 boot sectors (bottom or top parts). ? sector (64-kbyte) granularity ? write protections ? software write protection applicable to every 64-kbyte sector (volatile lock bit) ? hardware write protection: protected area size defined by five no n-volatile bits (bp0, bp1, bp2, bp3 and tb bit) ? additional smart protections available upon customer request ? deep power-down mo de: 5 a (typical) ? electronic signature ? jedec standard two-byte signature (bb18h) ? additional 2 extended device id (edid) bytes to identify device factory options ? unique id code (uid) with 14 bytes read- only, available upon customer request ? 100,000 + program/eras e cycles per sector ? more than 20 years data retention ? packages ? rohs compliant vdfpn8 (f8) 8 6 mm (mlp8) so16 (sf) 300 mils width tbga24 (12) 6 x 8 mm www.numonyx.com
contents N25Q128 - 1.8 v 2/185 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 2 signal descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.1 serial data output (dq1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.2 serial data input (dq0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.3 serial clock (c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.4 chip select (s) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 2.5 hold (hold) or reset (reset) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 2.6 write protect/enhanced program supply voltage (w /vpp), dq2 . . . . . . . 18 2.7 v cc supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2.8 v ss ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 3 spi modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4 spi protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.1 extended spi protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.2 dual i/o spi (dio-spi) protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4.3 quad spi (qio-spi) protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 5 operating features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1 extended spi protocol operating features . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.1 read operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.2 page programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.3 dual input fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.4 dual input extended fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.5 quad input fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.6 quad input extended fast pr ogram . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.7 subsector erase, sector erase and bulk erase . . . . . . . . . . . . . . . . . . . 24 5.1.8 polling during a write, pr ogram or erase cycle . . . . . . . . . . . . . . . . . . . . 24 5.1.9 active power and standby power modes . . . . . . . . . . . . . . . . . . . . . . . . 24 5.1.10 hold (or reset) cond ition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.2 dual spi (dio-spi) protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.2.1 multiple read identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
N25Q128 - 1.8 v contents 3/185 5.2.2 dual command fast reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.2.3 page programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.2.4 subsector erase, sector erase and bulk erase . . . . . . . . . . . . . . . . . . 28 5.2.5 polling during a wr ite, program or erase cycle . . . . . . . . . . . . . . . . . . . 28 5.2.6 read and modify registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.2.7 active power and standby power modes . . . . . . . . . . . . . . . . . . . . . . . 28 5.2.8 hold (or reset) condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.3 quad spi (qio-spi)protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3.1 multiple read identification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3.2 quad command fast reading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3.3 quad command page programming . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.3.4 subsector erase, sector erase and bulk erase . . . . . . . . . . . . . . . . . . 30 5.3.5 polling during a wr ite, program or erase cycle . . . . . . . . . . . . . . . . . . . 30 5.3.6 read and modify registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.3.7 active power and standby power modes . . . . . . . . . . . . . . . . . . . . . . . 31 5.3.8 hold (or reset) condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.3.9 vpp pin enhanced supply voltage feature . . . . . . . . . . . . . . . . . . . . . . 31 6 volatile and non volatile registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.1 legacy spi status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.1 wip bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.2 wel bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.3 bp3, bp2, bp1, bp0 bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.4 tb bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.1.5 srwd bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2 non volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 6.2.1 dummy clock cycle nv configuration bits (nvcr bits from 15 to 12) . . 37 6.2.2 xip nv configuration bits (nvcr bits from 11 to 9) . . . . . . . . . . . . . . . . 38 6.2.3 output driver strength nv configuratio n bits (nvcr bits from 8 to 6) . . 38 6.2.4 fast por nv configuration bit (nvcr bit 5) . . . . . . . . . . . . . . . . . . . . . 38 6.2.5 hold (reset) disable nv configuration bit (nvcr bit 4) . . . . . . . . . . . . 38 6.2.6 quad input nv configuration bit (nvcr bit 3) . . . . . . . . . . . . . . . . . . . . 38 6.2.7 dual input nv configuration bit (nvcr bit 2) . . . . . . . . . . . . . . . . . . . . . 39 6.3 volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.3.1 dummy clock cycle volatile configurat ions bits (vcr bits from 7 to 4) . 40 6.3.2 xip volatile configuration bits (vcr bit 3) . . . . . . . . . . . . . . . . . . . . . . . 41 6.4 volatile enhanced configuration register . . . . . . . . . . . . . . . . . . . . . . . . 41
contents N25Q128 - 1.8 v 4/185 6.4.1 quad input command vecr<7> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.4.2 dual input command vecr<6> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.4.3 reset/hold disable vecr<4> . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 6.4.4 accelerator pin enable: qio-spi pr otocol / qifp/qiefp vecr<3> . . . 43 6.4.5 output driver strength vecr<2:0> . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 6.5 flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 6.5.1 p/e controller status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.5.2 erase suspend status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.5.3 erase status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 6.5.4 program status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6.5.5 vpp status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6.5.6 program suspend status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 6.5.7 protection status bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 7 protection modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7.1 spi protocol-related protections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 7.2 specific hardware and software protection . . . . . . . . . . . . . . . . . . . . . . . . 48 8 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9 instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.1 extended spi instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.1.1 read identification (rdid) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 9.1.2 read data bytes (read) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 9.1.3 read data bytes at higher speed (fast_read) . . . . . . . . . . . . . . . . 81 9.1.4 dual output fast read (dofr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 9.1.5 dual i/o fast read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 9.1.6 quad output fast read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 9.1.7 quad i/o fast read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 9.1.8 read otp (rotp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 9.1.9 write enable (wren) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 9.1.10 write disable (wrdi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 9.1.11 page program (pp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 9.1.12 dual input fast program (dif p) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 9.1.13 dual input extended fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 9.1.14 quad input fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 9.1.15 quad input extended fast program . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
N25Q128 - 1.8 v contents 5/185 9.1.16 program otp instruction (potp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 9.1.17 subsector erase (sse) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 9.1.18 sector erase (se) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 9.1.19 bulk erase (be) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 9.1.20 program/erase suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 9.1.21 program/erase resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 9.1.22 read status register (rdsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9.1.23 write status register (wrsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 9.1.24 read lock register (rdlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 9.1.25 write to lock register (wrlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 9.1.26 read flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 9.1.27 clear flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 9.1.28 read nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 9.1.29 write nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 9.1.30 read volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 108 9.1.31 write volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 109 9.1.32 read volatile enhanced configuration re gister . . . . . . . . . . . . . . . . . 110 9.1.33 write volatile enhanced configuration register . . . . . . . . . . . . . . . . . 110 9.1.34 deep power-down (dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 9.1.35 release from deep power- down (rdp) . . . . . . . . . . . . . . . . . . . . . . . 112 9.2 dio-spi instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .113 9.2.1 multiple i/o read identification protocol . . . . . . . . . . . . . . . . . . . . . . . 115 9.2.2 dual command fast read (dcfr) . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 9.2.3 read otp (rotp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116 9.2.4 write enable (wren) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 9.2.5 write disable (wrdi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 9.2.6 dual command page program (dcpp) . . . . . . . . . . . . . . . . . . . . . . . 118 9.2.7 program otp instruction (potp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 9.2.8 subsector erase (sse) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 9.2.9 sector erase (se) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 9.2.10 bulk erase (be) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 9.2.11 program/erase suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 9.2.12 program/erase resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 9.2.13 read status register (rdsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 9.2.14 write status register (wrsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 9.2.15 read lock register (rdlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 9.2.16 write to lock register (wrlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
contents N25Q128 - 1.8 v 6/185 9.2.17 read flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 9.2.18 clear flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 9.2.19 read nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 9.2.20 write nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 9.2.21 read volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 128 9.2.22 write volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 129 9.2.23 read volatile enhanced configuration re gister . . . . . . . . . . . . . . . . . 130 9.2.24 write volatile enhanced configuration re gister . . . . . . . . . . . . . . . . . 130 9.2.25 deep power-down (dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 9.2.26 release from deep power- down (rdp) . . . . . . . . . . . . . . . . . . . . . . . 132 9.3 qio-spi instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 9.3.1 multiple i/o read identification (miordid) . . . . . . . . . . . . . . . . . . . . . 134 9.3.2 quad command fast read (qcfr) . . . . . . . . . . . . . . . . . . . . . . . . . . 135 9.3.3 read otp (rotp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 9.3.4 write enable (wren) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 9.3.5 write disable (wrdi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 9.3.6 quad command page program (qcpp) . . . . . . . . . . . . . . . . . . . . . . . 139 9.3.7 program otp instruction (potp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 9.3.8 subsector erase (sse) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 9.3.9 sector erase (se) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 9.3.10 bulk erase (be) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 9.3.11 program/erase suspend . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 9.3.12 program/erase resume . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 9.3.13 read status register (rdsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 9.3.14 write status register (wrsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 9.3.15 read lock register (rdlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 9.3.16 write to lock register (wrlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 9.3.17 read flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 9.3.18 clear flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151 9.3.19 read nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 9.3.20 write nv configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 9.3.21 read volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 154 9.3.22 write volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . 155 9.3.23 read volatile enhanced configuration re gister . . . . . . . . . . . . . . . . . 156 9.3.24 write volatile enhanced configuration re gister . . . . . . . . . . . . . . . . . 157 9.3.25 deep power-down (dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 9.3.26 release from deep power- down (rdp) . . . . . . . . . . . . . . . . . . . . . . . 160
N25Q128 - 1.8 v contents 7/185 10 xip operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 10.1 enter xip mode by setting the non vola tile configuration register . . . . 162 10.2 enter xip mode by setting the volatile configuration register . . . . . . . 164 10.3 xip mode hold and exit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 10.4 xip memory reset after a controller reset . . . . . . . . . . . . . . . . . . . . . . . . 166 11 power-up and power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 11.1 fast por . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 11.2 rescue sequence in case of power loss during wrnvcr . . . . . . . . . . 169 12 initial delivery state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 13 maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 14 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 15 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 16 ordering information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 17 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
list of tables N25Q128 - 1.8 v 8/185 list of tables table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 table 2. device status after reset low pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 table 3. status register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 table 4. non-volatile configurat ion register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 5. maximum allowed frequency (mhz). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 table 6. volatile configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 table 7. volatile enhanced configuration register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 table 8. flag status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 table 9. software protection truth table (sectors 0 to 255, 64 kbyte) . . . . . . . . . . . . . . . . . . . . . . . 49 table 10. protected area sizes (tb bit = 0) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 11. protected area sizes (tb bit = 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 table 12. memory organization (uniform) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 table 13. memory organization (bottom) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 table 14. memory organization (top) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 table 15. instruction set: extended spi protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 table 16. read identification data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 0 table 17. extended device id table (first byte) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 table 18. suspend parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 table 19. operations allowed / disallowed during device states . . . . . . . . . . . . . . . . . . . . . . . . . . 101 table 20. protection modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 table 21. lock register out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 table 22. lock register in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 table 23. instruction set: dio-spi protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 table 24. instruction set: qio-spi protocol . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 table 25. nvcr xip bits setting example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 table 26. vcr xip bits setting example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164 table 27. power-up timing and vwi threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 table 28. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 table 29. operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 table 30. ac measurement conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 table 31. capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 table 32. dc characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172 table 33. ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 table 34. reset conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 table 35. vdfpn8 (mlp8) 8-lead very thin dual flat package no lead, 8 6 mm, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 table 36. so16 wide - 16-lead plastic small outline, 300 mils body width, mechanical data . . . . . . 179 table 37. tbga 6x8 mm 24-ball package dimensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 table 38. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182 table 39. valid order information line items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 table 40. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
N25Q128 - 1.8 v list of figures 9/185 list of figures figure 1. logic diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 figure 2. vdfpn8 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 3. so16 connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 figure 4. bga connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 figure 5. bus master and memory devices on the spi bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 6. extended spi protocol example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 figure 7. hold condition activation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 figure 8. non volatile and vola tile configuration register scheme . . . . . . . . . . . . . . . . . . . . . . . . . 33 figure 9. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 10. read identification instruction and data-out seque nce . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 figure 11. read data bytes instruction and data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 figure 12. read data bytes at higher speed instruction and data-out sequence . . . . . . . . . . . . . . . 82 figure 13. dual output fast read instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 figure 14. dual i/o fast read instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 figure 15. quad input/output fast read instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 figure 16. quad input/ output fast read instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 figure 17. read otp instruction and data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 figure 18. write enable instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 figure 19. write disable instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 figure 20. page program instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 figure 21. dual input fast program instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 figure 22. dual input extended fast program instruction s equence . . . . . . . . . . . . . . . . . . . . . . . . . 93 figure 23. quad input fast program instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 figure 24. quad input extended fast program instruction s equence . . . . . . . . . . . . . . . . . . . . . . . . . 95 figure 25. program otp instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 figure 26. how to permanently lock the ot p bytes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 figure 27. subsector erase instruction seq uence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 8 figure 28. sector erase instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 29. bulk erase instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 figure 30. read status register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 figure 31. write status register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 figure 32. read lock register instruction and data-out seq uence . . . . . . . . . . . . . . . . . . . . . . . . . . 104 figure 33. write to lock register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 figure 34. read flag status register in struction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 figure 35. clear flag status register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 36. read nv configuration register instruction seq uence . . . . . . . . . . . . . . . . . . . . . . . . . . 107 figure 37. write nv configuration register instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . 108 figure 38. read volatile conf iguration register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . 109 figure 39. write volatile co nfiguration register instruction sequence . . . . . . . . . . . . . . . . . . . . . . . 110 figure 40. read volatile enhanced configuration register instruction sequence. . . . . . . . . . . . . . . 110 figure 41. write volatile enhanced configuration regist er instruction sequence. . . . . . . . . . . . . . . 111 figure 42. deep power-down inst ruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 figure 43. release from deep power-down instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . 113 figure 44. multiple i/o read identifi cation instruction and data-out se quence dio-spi . . . . . . . . . . 115 figure 45. dual command fast read instruction and data-out sequence dio-spi . . . . . . . . . . . . . 116 figure 46. read otp instruction and data-out sequence dio- spi . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 47. write enable instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 figure 48. write disable instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
list of figures N25Q128 - 1.8 v 10/185 figure 49. dual command page program instruction sequen ce dsp, 02h . . . . . . . . . . . . . . . . . . . 118 figure 50. dual command page program instruction sequen ce dsp, a2h . . . . . . . . . . . . . . . . . . . 119 figure 51. dual command page program instruction sequen ce dsp, d2h . . . . . . . . . . . . . . . . . . . 119 figure 52. program otp instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 53. subsector erase instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 figure 54. sector erase instruction sequence dio-spi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 figure 55. bulk erase instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 56. program/erase suspend instruction sequence dio- spi . . . . . . . . . . . . . . . . . . . . . . . . . 122 figure 57. program/erase resume instruction sequence dio- spi . . . . . . . . . . . . . . . . . . . . . . . . . . 123 figure 58. read status register instruction sequence dio- spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 59. write status register instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 figure 60. read lock register instruction and data-out sequence dio-spi. . . . . . . . . . . . . . . . . . . 125 figure 61. write to lock register instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 figure 62. read flag status register instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . . . . . . 126 figure 63. clear flag status register instruction sequen ce dio-spi . . . . . . . . . . . . . . . . . . . . . . . . 127 figure 64. read nv configuration register instruction se quence dio-spi . . . . . . . . . . . . . . . . . . . 127 figure 65. write nv configuration register instruction sequence dio-spi . . . . . . . . . . . . . . . . . . . 128 figure 66. read volatile co nfiguration register instruction sequence dio-spi . . . . . . . . . . . . . . . . 129 figure 67. write volatile configurat ion register instruction sequence dio-spi . . . . . . . . . . . . . . . . 129 figure 68. read volatile enhanced configuration regi ster instruction sequence dio-spi . . . . . . . 130 figure 69. write volatile enhanced configuration re gister instruction sequence dio-spi . . . . . . . 131 figure 70. deep power-down inst ruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 figure 71. release from deep power-down instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . 132 figure 72. multiple i/o read identifi cation instruction and data-out sequence qio-spi . . . . . . . . . . 135 figure 73. quad command fast read instruction and data-out sequence qsp, 0bh . . . . . . . . . . . 136 figure 74. quad command fast read instruction and data-out sequence qsp, 6bh . . . . . . . . . . . 136 figure 75. quad command fast read instruction and data-out sequence qsp, ebh . . . . . . . . . . . 137 figure 76. read otp instruction and data-out sequence qi o-spi . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 77. write enable instruction sequence qio-spi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 figure 78. write disable instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 figure 79. quad command page program instruction seq uence qio-spi, 02h. . . . . . . . . . . . . . . . 140 figure 80. quad command page program instruction seq uence qio-spi, 12h. . . . . . . . . . . . . . . . 140 figure 81. quad command page program instruction seq uence qio-spi, 32h. . . . . . . . . . . . . . . . 141 figure 82. program otp instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142 figure 83. subsector erase instruction sequence qio-spi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 figure 84. sector erase instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 figure 85. bulk erase instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 figure 86. program/erase suspend instruction sequence qio- spi . . . . . . . . . . . . . . . . . . . . . . . . . 145 figure 87. program/erase resume instruction sequence qi o-spi. . . . . . . . . . . . . . . . . . . . . . . . . . 146 figure 88. read status register instruction sequence qio-sp i . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 figure 89. write status register instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 figure 90. read lock register instruction and data-out sequence qio-spi . . . . . . . . . . . . . . . . . . 149 figure 91. write to lock register instruction sequence qi o-spi . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 figure 92. read flag status register instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . 151 figure 93. clear flag status register instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . . . . . . 152 figure 94. read nv configuration register instruction se quence qio-spi . . . . . . . . . . . . . . . . . . . 153 figure 95. write nv configuration register instruction sequence qio-spi . . . . . . . . . . . . . . . . . . . 154 figure 96. read volatile co nfiguration register instruction sequence qio-spi . . . . . . . . . . . . . . . . 155 figure 97. write volatile configurat ion register instruction sequence qio-spi . . . . . . . . . . . . . . . . 156 figure 98. read volatile enhanced configuration regi ster instruction sequence qio-spi . . . . . . . 157 figure 99. write volatile enhanced configuration re gister instruction sequence qio-spi . . . . . . . 158 figure 100. deep power-down instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
N25Q128 - 1.8 v list of figures 11/185 figure 101. deep power-down instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 figure 102. N25Q128 read functionality flow chart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162 figure 103. xip mode directly after power on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 figure 104. xip: enter by vcr 2/2 (qiofr in normal spi protocol example) . . . . . . . . . . . . . . . . . . . 165 figure 105. power-up timing, fast por selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 68 figure 106. power-up timing, fast por not selected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 figure 107. ac measurement i/o waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 71 figure 108. reset ac waveform s: program or erase cycle is in progress . . . . . . . . . . . . . . . . . . . . . . 174 figure 109. serial input timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 figure 110. write protect setup and hold timing during wrsr when srwd=1 . . . . . . . . . . . . . . . . . 176 figure 111. hold timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176 figure 112. output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 figure 113. vpp h timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 77 figure 114. vdfpn8 (mlp8) 8-lead very thin dual flat package no lead, 8 6 mm, package outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 figure 115. so16 wide - 16-lead plastic small outline, 300 mils body width, package outline . . . . . . 179 figure 116. tbga - 6 x 8 mm, 24-ball, mechanical package outline . . . . . . . . . . . . . . . . . . . . . . . . . . 180
description N25Q128 - 1.8 v 12/185 1 description the N25Q128 is a 128 mbit (16mb x 8) serial flash memory, with adva nced write protection mechanisms. it is accessed by a high speed spi -compatible bus and f eatures the possibility to work in xip (?execute in place?) mode. the N25Q128 supports innovative, high-perform ance quad/dual i/o instructions, these new instructions allow to double or quadruple the transfer bandwidth for read and program operations. furthermore the memory can be oper ated with 3 different protocols: ? standard spi (extended spi protocol) ? dual i/o spi ? quad i/o spi the standard spi protocol is enriched by the new quad and dual instructions (extended spi protocol). for dual i/o spi (dio-spi) all the instructions codes, the addresses and the data are always transmitted across two data lines . for quad i/o spi (qio- spi) the instructions codes, the addresses and the data are always transmitted across four data lines thus enabling a tremendous improvement in both random access time and data throughput. the memory can work in ?xip mode?, that means the device only requires the addresses and not the instructions to output the data. this mode dramatically reduces random access time thus enabling many applications requiring fast code execution without shadowing the memory content on a ram. the xip mode can be used with qio-spi, dio-spi , or extended spi protocol, and can be entered and exited using different dedicated in structions to allow ma ximum flexibility: for applications required to enter in xip mode righ t after power up of the device, this can be set as default mode by using dedicated non volatile register (nvr) bits. it is also possible to reduce the power on sequence time with the fast por (power on reset) feature, enabling a reduction of the late ncy time before the first read instruction can be performed. another feature is the ability to pause and resume program and erase cycles by using dedicated program/erase suspend and resume instructions. the N25Q128 memory offers the following additional features to be configured by using the non volatile configuration regist er (nvcr) for default /non-vola tile settings or by using the volatile and volatile en hanced configuration registers for volatile settings: ? the number of dummy cycles for fast read in structions (single, dual and, quad i/o) according to the operating frequency ? the output buffer impedance ? the type of spi protocol (ext ended spi, dio-spi or qio-spi) ? the required xip mode ? fast or standard por sequence ? the hold (reset) functi onality enabling/disabling the memory is organized as 248 (64-kbyte) ma in sectors, in products with bottom or top architecture there are 8 64-kbyte boot sectors, and each boot sector is further divided into 16 4-kbyte subsectors (128 subsectors in total). the boot sectors can be erased a 4-kbyte subsector at a time or as a 64-kbyte sector at a time. the entire memory can be also erased at a time or by sector.
N25Q128 - 1.8 v description 13/185 the memory can be write protected by software using a mix of volatile and non-volatile protection features, depending on the applicat ion needs. the protection granularity is of 64- kbyte (sector granularity) for volatile protections. the N25Q128 has 64 one-time-programmable by tes (otp bytes) that can be read and programmed using two dedicated instructions, read otp (rotp) and program otp (potp), respectively. these 64 bytes can be permanently locked by a particular program otp (potp) sequence. once they have been locked, they become read-only and this state cannot be reversed. many different N25Q128 configurations are ava ilable, please refer to the ordering scheme page for the possibilities. additi onal features are available as security options (the security features are described in a dedicated application note). please contact your nearest numonyx sales office for more information. figure 1. logic diagram note: reset functionality is available in devices with a dedicated part number. see section 16: ordering information . logic_diagram_x25x s v cc hold/ dq3 v ss dq1 c dq0 w/ v pp /dq2 table 1. signal names signal description i/o c serial clock input dq0 serial data input i/o (1) dq1 serial data output i/o (2) s chip select input w /vpp/dq2 write protect/enhanced program supply voltage/additional data i/o i/o (3) hold /dq3 (4) hold (reset function available upon customer request)/additional data i/o i/o (3) v cc supply voltage ? v ss ground ? 1. provides dual and quad i/o for extended spi protocol instructio ns, dual i/o for dual i/o spi protocol instructions, and quad i/o for quad i/o spi protocol instructions. 2. provides dual and quad instruction input for extended spi protocol, dual instructi on input for dual i/o spi protocol, and quad instruction input for quad i/o spi protocol. 3. provides quad i/o for extended spi protocol instructio ns, and quad i/o for quad i/o spi protocol instructions. 4. reset functionality available with a dedicated part number. see section 16: ordering information .
description N25Q128 - 1.8 v 14/185 note: there is an exposed central pad on the underside of the vdfpn8 package. this is pulled, internally, to vss, and must not be connected to any other vo ltage or signal line on the pcb. figure 2. vdfpn8 connections 1. reset functionality available in devi ces with a dedicated part number. see section 16: ordering information . figure 3. so16 connections 1. du = don?t use. 2. see package mechanical section for package dimensions , and how to identify pin-1. 3. reset functionality available in devi ces with a dedicated part number. see section 16: ordering information . 1 ai13720c 2 3 4 8 7 6 5 dq0 v ss c dq1 s v cc hold/dq3 w/v pp /dq2 1 ai13721c 2 3 4 16 15 14 13 du du du du v cc du du 5 6 7 8 12 11 10 9 dq1 v ss du du s dq0 c w/v pp /dq2 hold/dq3
N25Q128 - 1.8 v description 15/185 figure 4. bga connections 1. nc = no connect. 2. see figure 116.: tbga - 6 x 8 mm, 24-ball, mechanical package outline . a b c d e 1 2 3 4 5 c dq1 v ss dq0 v cc nc nc nc nc nc nc nc nc nc nc nc nc nc nc nc nc s hold/dq3 w/v pp /dq2
signal descriptions N25Q128 - 1.8 v 16/185 2 signal descriptions 2.1 serial data output (dq1) this output signal is used to transfer data seri ally out of the device. data are shifted out on the falling edge of serial clock (c). when used as an input, it is latched on the rising edge of the serial clock (c). in the extended spi protocol, during the quad and dual input fast program (qifp, difp) instructions and during the quad and dual input extended fast program (qiefp, diefp) instructions, pin dq1 is used also as an input. in the dual i/o spi protocol (dio-spi) the dq1 pin always acts as an input/output. in the quad i/o spi protocol (qio-spi) the dq1 pin always acts as an input/output, with the exception of the program or erase cycle performed with the enhanced program supply voltage (vpp). in this case the device temp orarily goes in extend ed spi protocol. the protocol then becomes qio-spi as so on as the vpp pin voltage goes low. 2.2 serial data input (dq0) this input signal is used to transfer data seri ally into the device. it receives instructions, addresses, and the data to be programmed. values are latched on the rising edge of serial clock (c). data are shifted out on the falling edge of the serial clock (c). in the extended spi protocol, during the qu ad and dual output fa st read (qofr, dofr) and the quad and dual input/output fast read (qiofr, diofr) inst ructions, pin dq0 is also used as an input/output. in the dio-spi protocol the dq0 pin always acts as an input/output. in the qio-spi protocol, the dq0 pin always acts as an input/output, with the exception of the program or erase cycle performed with the vpp. in this case the device temporarily goes in extended spi pr otocol. then, the protoc ol returns to qio-spi as soon as the vpp pin voltage goes low. 2.3 serial clock (c) this input signal provides the timing for the serial interface. instructions, addresses, or data present at serial data input (dq0) are latched on the rising edge of serial clock (c). data are shifted out on the falling ed ge of the serial clock (c). 2.4 chip select (s ) when this input signal is high, the device is de selected and serial data output (dq1) is at high impedance. unless an internal program, erase or write status register cycle is in progress, the device will be in the standby power mode (this is no t the deep power-down mode). driving chip select (s ) low enables the device, placing it in the active power mode. after power-up, a falling e dge on chip select (s ) is required prior to the start of any instruction.
N25Q128 - 1.8 v signal descriptions 17/185 2.5 hold (hold ) or reset (reset ) the hold (hold ) signal is used to pause any serial communications with the device without deselecting the device. reset functionality is present in stead of hold in devices with a dedicated part number. see section 16: ordering information . during hold condition, the serial data output (dq1) is in high impedance, and serial data input (dq0) and serial clock (c) are don't care. to start the hold condition, the device must be sele cted, with chip select (s ) driven low. for devices featuring reset instead of hold functionality, the reset (reset ) input provides a hardware reset for the memory. when reset (reset ) is driven high, the memory is in the normal operating mode. when reset (reset ) is driven low, the memory will enter t he reset mode. in this mode, the output is high impedance. driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. in the extended spi protocol, during the qofr, qiofr, qifp and the quad extended fast program (qiefp) instructions, the hold (reset ) / dq3 is used as an input/output (dq3 functionality). in qio-spi, the hold (reset ) / dq3 pin acts as an i/o (d q3 functionality), and the hold (reset ) functionality disabled when the device is selected. when the device is deselected (s signal is high), in parts with rese t functionality, it is possible to reset the device unless this functionality is not disabled by mean of dedicated registers bits. the hold (reset) functionality can be disabled using bit 3 of the nvcr or bit 4 of the vecr.
signal descriptions N25Q128 - 1.8 v 18/185 2.6 write protect/enhanced program supply voltage (w /vpp), dq2 w /vpp/dq2 can be used as: ? a protection control input. ? a power supply pin. ? i/o in extended spi protocol quad instructions and in qio-spi protocol instructions. when the device is operated in extended spi pr otocol with single or dual instructions, the two functions w or vpp are selected by the voltage range applied to the pin. if the w /vpp input is kept in a low voltage range (0 v to v cc) the pin is seen as a control input. this input signal is used to freeze the size of the area of memory that is protected against program or erase instructions (as specified by the values in the bp[0:3] bits of t he status register. (see table 3.: status register format ). if vpp is in the range of vpph, it acts as an additional power supply during the program or erase cycles (see table 29.: operating conditions ). in this case vpp mu st be stable until the program or erase algorithm is completed. during the extended spi protocol, the qof r and qiofr instructions, and the qio-spi protocol instructions, the pin w /vpp/dq2 is used as an input/ output (dq2 functionality). using the extended spi protocol the qifp, qiefp and the qio-spi program/erase instructions, it is still possible to use the vpp additional po wer supply to speed up internal operations. however, to enable this possibility it is necessary to set bit 3 of the volatile enhanced configuration register to 0. in this case the w /vpp/dq2 pin is used as an i/o pin until the end of the instruction sequence. after the last input data is shifted in, the ap plication should apply vpp voltage to w /vpp/dq2 within 200 ms to speed up the inte rnal operations. if the vpp voltage is not applied within 200 ms the program/erase operations start with standard speed. the default value of t he vecr bit 3 is 1, and the vpp func tionality for quad i/o modify instruction is disabled. 2.7 v cc supply voltage v cc is the supply voltage. 2.8 v ss ground v ss is the reference for the v cc supply voltage.
N25Q128 - 1.8 v spi modes 19/185 3 spi modes these devices can be driven by a micro controller with its spi peripheral running in either of the two following modes: cpol=0, cpha=0 cpol=1, cpha=1 for these two modes, input data is latched in on the rising edge of serial clock (c), and output data is available from t he falling edge of serial clock (c). the difference between the two modes, as shown in figure 5 , is the clock polarity when the bus master is in standby mode and not transferring data: c remains at 0 for (cpol=0, cpha=0) c remains at 1 for (cpol=1, cpha=1) figure 5. bus master and memory devices on the spi bus shown here is an example of three devices work ing in extended spi pr otocol for simplicity connected to an mcu, on an spi bus. only one device is selected at a time, so only one device drives the serial data output (dq1) line at a time; the other devices are high impedance. resistors r ensures that the N25Q128 is not selected if the bus master leaves the s line in the high impedance state. as the bus master may enter a state where all inputs/outputs are in high impedance at the same time (for example, when the bus master is reset), the clock line (c) must be connected to an external pull-down resistor so that, when all inputs/outputs become high impedance, the s line is pulled high while the c line is pulled low. this ensures that s and c do not become high at the same time, and so that the t shch requirement is met. the typical value of r is 100 k , assuming that the time constant r*c p ai13725b spi bus master spi memory device sdo sdi sck c dq1dq0 s spi memory device c dq1 dq0 s spi memory device c dq1dq0 s cs3 cs2 cs1 spi interface with (cpol, cpha) = (0, 0) or (1, 1) w hold hold w hold rrr v cc v cc v cc v cc v ss v ss v ss v ss r w
spi modes N25Q128 - 1.8 v 20/185 (c p = parasitic capacitance of the bus line) is shorter than the time during which the bus master leaves the spi bus in high impedance. example: c p = 50 pf, that is r*c p = 5 s <=> the application must ensure that the bus master never leaves the spi bus in the high impedance state for a time period shorter than 5 s. the write protect (w ) and hold (hold ) signals should be driven, high or low as appropriate. figure 6. extended spi protocol example ai1373 0 c msb cpha dq0 0 1 cpol 0 1 dq1 c msb
N25Q128 - 1.8 v spi protocols 21/185 4 spi protocols the N25Q128 memory can work with 3 different serial protocols: ? extended spi protocol. ? dual i/o spi (dio-spi) protocol. ? quad i/o spi (qio-spi) protocol. it is possible to choose among the three protocols by means of user volatile or non-volatile configuration bits.it's not possible to mix extended spi, dio-spi, a nd qio-spi protocols. the device can operate in xip mode in all 3 protocols. 4.1 extended spi protocol this is an extension of the standard (legacy) spi protocol. instructions are transmitted on a single data line (dq0), while addresses and data are transmitted by one, two or four data lines (dq0, dq1, w /vpp(dq2) and hold / (dq3) according to the instruction. when used in the extended spi protocol, thes e devices can be driven by a micro controller in either of the two following modes: ? cpol=0, cpha=0 ? cpol=1, cpha=1 please refer to the spi modes for a detailed description of these two modes 4.2 dual i/o spi (dio-spi) protocol dual i/o spi (dio-spi) protocol: instruct ions, addresses and i/o data are always transmitted on two data lines (dq0 and dq1). also when in dio-spi mode, the device can be driven by a micro controller in either of the two following modes: ? cpol= 0, cpha= 0 ? cpol= 1, cpha= 1 please refer to the spi modes for a detailed description of these two modes. note: extended spi protocol dual i/o instructions allow only address and data to be transmitted over two data lines. however, dio-spi allows instructions, addresses, and data to be transmitted on two data lines. this mode can be set using two ways ? volatile: by setting bit 6 of the vecr to 0. the device enters dio-spi protocol immediately after the write enhanced vo latile configuration register sequence completes. the device retu rns to the default working mode (defined by nvcr) on power on. ? default/ non-volatile: this is default mode on power-up. by setting bit 2 of the nvcr to 0. the device enters dio-spi protoc ol on the subsequent power-on. after all subsequent power-on sequences, the device still starts in dio-spi protocol unless bit 2 of nvcr is set to 1 (default value, corresponding to extended spi protocol) or bit 3 of nvcr is set to 0 (corresponding to qio-spi protocol) .
spi protocols N25Q128 - 1.8 v 22/185 4.3 quad spi (qio-spi) protocol quad spi (qio-spi) pr otocol: instructions, addresses, and i/o data are always transmitted on four data lines dq0, dq1, w /vpp(dq2), and hold / (dq3). the exception is the program/erase cycle performed with the vpp, in which case the device temporarily goes to extended spi protocol. go ing temporarily into extended spi protocol allows the application either to: ? check the polling bits: wip bit in the status register or program/era se controller bit in the flag status register ? perform program/erase suspend functions. note: as soon as the vpp pin voltag e goes low, the protocol retu rns to the qio-spi protocol. in qio-spi protocol the w and hold/ (reset) functionality is disabled when the device is selected (s signal low). when used in the qio-spi mode, these devices can be driven by a micro controller in either of the two following modes: ? cpol=0, cpha=0 ? cpol=1, cpha=1 please refer to the spi modes for a detailed description of the 2 modes. note: in the extended spi protocol only address and data are allowed to be transmitted on 4 data lines, however in qio-spi protocol, the addres s, data and instructions are transmitted across 4 data lines. this working mode is set in either bit 7 of the volatile enhanced configuration register (vecr) or in bit 3 of the non volatile configuration register (nvcr). this mode can be set using two ways ? volatile: by setting bit 7 of the vecr to 0, the device enters qio-spi protocol immediately after the write enhanced vo latile configuration register sequence completes. the device return s to the default working protocol (defined by the nvcr) on the next power on. ? default/ non- volatile: this is default protocol on po wer up. by setting bit 3 of the nvcr to 0, the device enters qio-spi prot ocol on the subsequent power-on. after all subsequent power-on sequences, the device still starts in qio-spi protocol unless bit 3 of the nvcr is set to 1 (default valu e, corresponding to extended spi mode).
N25Q128 - 1.8 v operating features 23/185 5 operating features 5.1 extended spi protoc ol operating features 5.1.1 read operations to read the memory content in extended spi pr otocol different instructions are available: read, fast read, dual output fast read, dual input output fast read, quad output fast read and quad input output fast read, allowing the application to choose an instruction to send addresses and receive data by one, two or four data lines. note: in the extended spi protocol the instruction co de is always sent on one data line (dq0): to use two or four data lines the user must us e either the dio-spi or the qio-spi protocol respectively. for fast read instructions the number of dummy clock cycles is configurable by using vcr bits [7:4] or nvcr bits [15:12]. after a successful reading instruction a reduced tshsl equal to 20 ns is allowed to further improve random access time (in all the othe r cases tshsl should be at least 50 ns). see table 33.: ac characteristics . 5.1.2 page programming to program one data byte, two instructions are required: write enable (wren), which is one byte, and a page program (pp) sequence, which consists of four bytes plus data. this is followed by the internal program cycle (of duration t pp ). to spread this overhead, the page program (pp) instruction allows up to 256 bytes to be programmed at a time (changing bits from ?1? to ?0?), provided that they lie in consecutive addresses on the same page of memory. for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes (see section 5.2.3: page programming and table 33: ac characteristics ). 5.1.3 dual input fast program the dual input fast program (difp) instructi on makes it possible to program up to 256 bytes using two input pins at the same time (by changing bits from ?1? to ?0?). for optimized timings, it is recommended to use the difp instruction to program all consecutive targeted bytes in a single sequence rather using several difp sequences each containing only a few bytes (see section 9.1.12: dual input fast program (difp) ). 5.1.4 dual input extended fast program the dual input extended fast program (diefp ) instruction is an enhanced version of the dual input fast program instru ction, allowing to transmit address across two data lines. for optimized timings, it is recommended to use the diefp instruction to program all consecutive targeted bytes in a single sequence rather than using several diefp sequences, each containing only a few bytes.
operating features N25Q128 - 1.8 v 24/185 5.1.5 quad input fast program the quad input fast program (qif p) instruction makes it possible to program up to 256 bytes using 4 input pins at the same time (by changing bits from 1 to 0). for optimized timings, it is recommended to use the qifp instruction to program all consecutive targeted bytes in a single sequenc e rather than using several qifp sequences each containing only a few bytes. 5.1.6 quad input ex tended fast program the quad input extended fast program (qiefp) instruction is an enhanced version of the quad input fast program instruction, allowing parallel input on the 4 input pins, including the address being sent to the device. for optimized timings, it is recommended to use the qiefp instruction to program all consecutive targeted bytes in a single sequence rather than using several qiefp sequences each containing only a few bytes. 5.1.7 subsector erase, se ctor erase and bulk erase the page program (pp) instruction a llows bits to be reset from ?1? to?0?. in order to do this the bytes of memory need to be erased to all 1s (ffh). this can be achieved as follows: ? a subsector at a time, using the subsector erase (sse) inst ruction (only available on the 8 boot sectors at the bottom or top add ressable area of a device with a dedicated part number); see section 16: ordering information ; ? a sector at a time, using the sector erase (se) instruction; ? throughout the entire memory, using the bulk erase (be) instruction. this starts an internal erase cycle (of duration t sse , t se or t be ). the erase instruction must be preceded by a write enable (wren) instruction. 5.1.8 polling during a write, program or erase cycle a further improvement in th e time to write status register (wrsr), potp, pp, difp,diefp,qifp, qiefp or eras e (sse, se or be) can be achi eved by not waiting for the worst case delay (tw, tpp, tsse, tse, or t be). the application prog ram can monitor if the required internal operation is completed, by polling the dedicated register bits to establish when the previous write, program or erase cycle is complete. the information on the memory being in progress for a program, erase, or write instruction can be checked either on the write in progress (wip) bit of the status register or in the program/erase controller bit of the flag status register. note: the program/erase controller bit is the opposite state of the wip bit in the status register. in the flag status register additional information can be checked, as eventual program/erase failures by mean of the program or erase error bits. 5.1.9 active power and standby power modes when chip select (s ) is low, the device is selected, and in the active power mode.
N25Q128 - 1.8 v operating features 25/185 when chip select (s ) is high, the device is deselected, but could remain in the active power mode until all internal cycles have completed (program, erase, write status register). the device then goes in to the standby power mode. the device consumption drops to i cc1 . 5.1.10 hold (or reset) condition the hold (hold ) signal is used to pause serial communications with the device without resetting the clocking sequence. however, taking this signal low does not terminate any write status register, program or erase cycle that is currently in progress. to enter the hold condition, the device must be selected, with chip select (s ) low. the hold condition starts on the falling edge of the hold (hold ) signal, provided that the serial clock (c) is low (as shown in figure 7 ). the hold condition ends on the rising edge of the hold (hold ) signal, provided that the serial clock (c) is low. if the falling edge does not coincide with serial clock (c) being low, the hold condition starts after serial clock (c) next goes low. similarly, if the rising edge does not coincide with serial clock (c) being low, the hold condi tion ends after serial clock (c) next goes low (this is shown in figure 7 ). during the hold condition, the serial data output (dq1) is high impedance, and serial data input (dq0) and serial clock (c) are don?t care. normally, the device is kept selected, with chip select (s ) driven low for the whole duration of the hold condition. this is to ensure that the state of the internal logic remains unchanged from the moment of entering the hold condition. if chip select (s ) goes high while the device is in the ho ld condition, this has the effect of resetting the internal logic of the device. to restart communication with the device, it is necessary to drive hold (hold ) high, and then to drive chip select (s ) low. this prevents the device from going back to the hold condition. figure 7. hold condition activation reset functionality is available instead of hold in parts with a dedicated part number. see section 16: ordering information . driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. on reset going low, the device enters the reset mode and a time of trhsl is then requ ired before the device can be reselected by driving chip select (s ) low. for the value of trhsl, see table 33.: ac characteristics . all the lock bits are reset to 0 after a reset low pulse. ai02029d hold c hold condition (standard use) hold condition (non-standard use)
operating features N25Q128 - 1.8 v 26/185 table 2. device status after reset low pulse note: 1 s remains low while reset is low. 2see 11: power-up and power-down the hold /reset feature is not available when the hold (reset ) / dq3 pin is used as i/o (dq3 functionality) during quad inst ructions: qofr, qiofr,qifp and qiefp. the hold /reset feature can be disabled by using of the bit 4 of the vecr. conditions: reset pulse occurred lock bits status internal logic status addressed data while decoding an instruction (1) : wren, wrdi, rdid, rdsr, read, rdlr, fast_read, dofr, diofr, qofr, qiofr, wrlr, pw, pp, pe, se, be, sse, dp, rdp reset to 0 same as por (2) not significant under completion of an erase or program cycle of a pw, pp, difp, diefp, sse, se, be operation reset to 0 equivalent to por (2) addressed data could be modified under completion of a wrsr operation reset to 0 equivalent to por (after tw) write is correctly completed device deselected (s high) and in standby mode reset to 0 same as por (2) not significant
N25Q128 - 1.8 v operating features 27/185 5.2 dual spi (dio-spi) protocol in the dual spi (dio-spi) protocol all th e instructions, addresses and i/o data are transmitted on two data lines. all the functional ity available in the extended spi protocol is also available in the dio-spi protocol. the di o-spi instructions are comparable with the extended spi instructions; however, in dio-spi , the instructions are multiplexed on the two data lines, dq0 and dq1. the only exceptions are the read, quad re ad, and program instructions, which are not available in dio-spi protocol, and the rdid in struction, which is replaced in the dio-spi protocol by the multiple i/o read id entification (miordid) instruction. the multiple i/o read identification instructio n reads just the standard spi electronic id (3 bytes), while the extended spi protocol rdid instruction allows acce ss to the uid bytes. to help the application code port from extend ed spi to dio-spi protocol, the instructions available in the dio-spi protocol have the same operation code as the extended spi protocol, the only exception being the miordid instruction. 5.2.1 multiple read identification the multiple i/o read identifica tion (miordid) instruction is available to read the device electronic id.with respect to the rdid instruct ion of the extended spi protocol, the output data, shifted out on the 2 data lines dq0 and dq1. since the read id instruction in the dio-spi protocol is limited to 3 bytes of the standard electronic id, the uid bytes are no t read with the miordid instruction 5.2.2 dual command fast reading reading the memory data multiple xing the instruction, the addr esses and the output data on 2 data lines can be achieved in dio-spi prot ocol by mean of the du al command fast read instruction, that has 3 instruction codes (bbh, 3bh and 0bh) to help the application code porting from extended spi protocol to dio-sp i protocol. of course quad and single i/o read instructions are not available in dio-spi mode. for dual command fast read instructions the number of dummy clock cycles is configurable by using vcr bits [7:4] or nvcr bits [15:12]. after a successful reading instruction, a reduce d tshsl equal to 20ns is allowed to further improve random access time (in all the othe r cases tshsl should be at least 50 ns). see table 33.: ac characteristics . 5.2.3 page programming programming the memory by transmitting the in struction, addresses and the output data on 2 data lines can be achieved in dio-spi pr otocol by using the dual command page program instruction, that has 3 instruction co des (d2h, a2h and 02h) to help port from extended spi protocol to dio-spi protocol quad and single input program instructi ons are not available in dio-spi mode.
operating features N25Q128 - 1.8 v 28/185 the dio-spi protocol is similar to the extended spi protocol i.e., to program one data byte two instructions are required: ? write enable (wren), which is one byte, and a ? dual command page program (dcpp) sequen ce, which consists of four bytes plus data. this is followed by the internal program cycle (of duration tpp). to spread this overhead, the dual command pa ge program (dcpp) inst ruction allows up to 256 bytes to be programmed at a time (changing bits from 1 to 0), provided that they are consecutive addresses on the same page of memory. for optimized timings, it is recommended to use the dcpp instruction to program all consecutive targeted bytes in a single sequence versus using several dcpp sequences with each containing only a few bytes. see table 33.: ac characteristics . 5.2.4 subsector erase, sect or erase and bulk erase similar to the extended spi protocol, in the di o-spi protocol to erase the memory bytes to all 1s (ffh) the subsector erase (sse), the sector erase (se) and the bulk erase (be) instructions are available. these instructions start an internal erase cycle (of duration tsse, tse or tbe). the erase instruction must be preceded by a write enable (wren) instruction. subsector erase is only available on the 8 botto m (top) boot sectors, and is not available in uniform architecture parts 5.2.5 polling during a write, program or erase cycle similar to the extended spi protocol, in the dio- spi protocol it is possible to monitor if the internal write, program or erase operation is co mpleted, by polling the dedicated register bits by using the read status register (rdsr) or read flag status register (rfsr) instructions, the only obvious difference is that instruction codes, addresses and output data are transmitted across two data lines. 5.2.6 read and modify registers similar to the extended spi protocol, the only ob vious difference is that instruction codes, addresses and output data are transmitted across two data lines 5.2.7 active power and standby power modes similar to the extended spi protocol, when chip select (s ) is low, the device is selected, and in the active power mode. when chip select (s ) is high, the device is deselected, but could remain in the active po wer mode until all internal cyc les have completed (program, erase, write cycles). the device then goes in to the standby power mode. the device consumption drops to icc1. 5.2.8 hold (or reset) condition the hold (or reset i.e. for parts having the reset functionality instead of hold pin) signal has exactly the same behavior in dio-spi pr otocol as do in extended spi protocol, so please refer to section 5.1.10, hold (or reset ) condition? in the extend spi protocol section for further details.
N25Q128 - 1.8 v operating features 29/185 5.3 quad spi (qio-spi)protocol in the quad spi (qio-spi) prot ocol all the instructions, addresses and i/o data are transmitted on four data lines, with the excepti on of the polling instruct ions performed during a program or erase cycle performed with vpp, in this case the device temporarily goes in extended spi protocol. the protocol again be comes qio-spi as soon as the vpp voltage goes low. all the functionality available in the extended spi protocol are also available in the qio-spi mode, with equivalent instruction transmitted on the 4 data lines dq0, dq1, dq2 and dq3. the exceptions are the read, dual read an d dual program instructions, that are not available in qio-spi protocol, and the rdid in struction, that is re placed in the qio-spi protocol by the multiple i/o read identificati on (miordid) instructi on. the multiple i/o read instruction reads just the standard spi el ectronic id (3 bytes), while with the extended spi protocol rdid instruction is poss ible to access also the uid bytes. to help the application code port from extend ed spi to qio-spi protocol, the instructions available in the qio-spi protocol have the same operation code as in the extended spi protocol, the only exception is the miordid instruction. 5.3.1 multiple read identification the multiple i/o read identifica tion (miordid) instruction is available to read the device electronic id. with respect to the rdid instru ction of the extended spi protocol, the output data, shifted out on the 4 data lines dq0, dq1, dq2 and dq3. since in the qio-spi protocol the read id inst ruction is limited to 3 bytes of the standard electronic id, the uid bytes are no t read with the miordid instruction. 5.3.2 quad command fast reading the array data can be read by the quad command fast read instruction using 3 instructions (ebh, 6bh and 0bh) to help the application code port from extended spi protocol to dio-spi protocol. the instruction, address and output data are transmitted across 4 data lines. the dual and single i/o read instructions are not available in qio-spi protocol. 5.3.3 quad command page programming the memory can be programmed in qio-spi protocol by the quad command page program instruction using (02h, 12h and 32h). the instruction, address and input data are transmitted across 4 data lines the dual and single i/o program instructions are not available in qio-spi protocol programming the memory by multiplexing the in struction, the addresse s and the output data on 4 wires can be achieved in qio-spi pr otocol by mean of the quad command page program instruction, that has 3 instruction codes (02h, 12h and 32h) to help the application code porting from extended spi protocol to qio-spi protocol. similar to the extended spi protocol in the qio-spi protocol, to program one data byte two instructions are required: ? write enable (wren), which is one byte, and ? quad command page program (qcpp) sequence, which consists of i nstruction (one byte), address (3 bytes) and input data.
operating features N25Q128 - 1.8 v 30/185 this is followed by the internal program cycle (of duration tpp). to spread this overhead, the quad command page program (qcpp) instruction allows up to 256 bytes to be programmed at a time (changing bits from 1 to 0), provided that they are in consecutive addresses on the same page of memory. for optimized timings, it is recommended to use the qcpp instruction to program all consecutive targeted bytes in a single se quence versus using several qcpp sequences with each containing only a few bytes. see table 33.: ac characteristics . the qcpp instruction is transmitted across 4 data lines except wh en vpp is raised to vpph. the vpp can be raised to vpph to decrease progra mming time (p rovided that the bit 3 of the vecr has been set to 0 in advance ). when bit 3 of vecr is set to 0 after the quad command page program instruction sequence has been received, the memory temporarily goes in extended spi protocol, and is possible to perform polling instructions (checking the wip bit of the status register or the program/erase controller bit of the flag status register) or program/erase suspend instruction even if dq2 is temporarily used in this vpp functionality . the memory automatically comes back in qio-spi protocol as soon as the vpp pin goes low. 5.3.4 subsector erase, sect or erase and bulk erase similar to the extended spi pr otocol, subsector eras e (sse)(1), the sect or erase (se) and the bulk erase (be) instructions are used to erase the memory in the qio-spi protocol. these instructions start an internal er ase cycle (of duration tsse, tse or tbe). the erase instruction must be preceded by a write enable (wren) instruction. the erase instructions are transmitted across 4 data lines unless the vpp is raised to vpph. the vpp can be raised to vpph to decrease eras ing time, provided that the bit 3 of the vecr has been set to 0 in advance. in this case, after the erase instruction sequence has been received, the memory temporarily goes in extended spi protocol, and it is possible to perform polling instructions (checking the wip bit of the status register or the program/erase controller bit of the flag st atus register) or program/erase suspend instruction even if dq2 is temporarily used in this vpp functionality. the memory automatically comes back in qio-spi protocol as soon as the vpp pin goes low. note: subsector erase is only available on the 8 bottom (top) boot sectors, and is not available in uniform architecture parts 5.3.5 polling during a write, program or erase cycle it is possible to check if the internal write, program or erase operation is completed, by polling the dedicated register bits of the read status regist er (rdsr) or read flag status register (fsr). when the program or erase cycle is performed with the vpp, the device temporarily goes in single i/o spi mode. the prot ocol became again qio-spi as soon as the vpp pin voltage goes low.
N25Q128 - 1.8 v operating features 31/185 5.3.6 read and modify registers the read and modify register instructions are available and behave in qio-spi protocol exactly as they do in extended spi protocol, the only differenc e is that instruction codes, addresses and output data are transmitted across 4 data lines. 5.3.7 active power and standby power modes exactly as in extended spi pr otocol, when chip select (s ) is low, the device is selected, and in the active power mode. when chip select (s ) is high, the device is deselected, but could remain in the active po wer mode until all internal (p rogram, erase, write) cycles have completed. the device then goes in to the standby power mode. the device consumption drops to icc1. 5.3.8 hold (or reset) condition the hold (hold ) feature (or reset feature, for parts having the reset functionality instead of hold) is disabled in qio-spi protocol when the device is selected: the hold (or reset )/ dq3 pin always behaves as an i/o pin (dq3 function) when the device is deselected. for parts with reset functionality, it is st ill possible to reset the memory w hen it is deselected (c signal high). 5.3.9 vpp pin enhanced supply voltage feature it is possible in the qio-spi protocol to use th e vpp pin as an enhanced supply voltage, but the intention to use vpp as acce lerated supply voltag e must be declared by setting bit 3 of the vecr to 0. in this case, to accele rate the program cycle the vpp pin must be raised to vpph after the device has received the last data to be programmed within 200ms. if the vpp is not raised within 200ms, the program operation starts with the standard internal cycle speed as if the vpp high voltage were not used, and a flag er ror appears on flag status register bit 3" .
volatile and non volatile registers N25Q128 - 1.8 v 32/185 6 volatile and non volatile registers the device features many different registers to store, in volatile or non volatile mode, many parameters and operating configurations: ? legacy spi status register ? 3 configuration registers: ? non volatile configuratio n register (nvcr), 16 bits ? volatile configuration register (vcr), 8 bits ? volatile enhanced configuration register (vecr), 8 bits the non volatile configuration register (nvcr) affects the memory configuration starting from the successive power-on. it can be used to make the memory start in a determined condition. the vcr and vecr affect the memory configur ation after every execution of the related write volatile configuration register (wrvcr) and write enhanced volatile configuration register (wrvecr) instructions. these instruct ions overwrite the memo ry configuration set at por by nvcr. as described in figure 8.: non volatile and volatile configuration register scheme , the working condition of the memory is set by an internal configuration register, which is not accessible by the user. the working parameters of the internal configuration register are loaded from the nvcr during the boot phase of the device. in this sense the nvcr can be seen as having the default settings of the memory. during the normal life of the application, ever y time a write volatile or enhanced volatile configuration register instruction is performed, the new configuration parameters set in the volatile registers are also copied in the internal configuration register, thus instantly affecting the memory behavior. please note that on the next power on the memory will start again in the working protocol set by the non volatile register parameters.
N25Q128 - 1.8 v volatile and non volatile registers 33/185 figure 8. non volatile and volatile configuration register scheme a flag status register (fsr), 8 bits, is also available to check the status of the device, detecting possible errors or a progra m/erase internal cycle in progress. each register can be read and modified by means of dedicated instructions in all the 3 protocols (extended spi, dio-spi, and qio-spi). reading time for all regi sters is comparable; writing time instead is very different: nvcr bits are set as flash cell memory content requiring a longer time to perform internal writing cycles. see table 33.: ac characteristics . nvcr (non volatile configuration register) vcr (volatile configuration register) and vecr (volatile enhanced configuration register) icr (internal configuration register) device behaviour register download executed only during the power on phase registers download executed after a wrvcr or wrvecr instructions, it overwrites nvcr configurations on icr
volatile and non volatile registers N25Q128 - 1.8 v 34/185 6.1 legacy spi status register the status register contains a number of status and control bits that can be read or set by specific instructions: read status register (r dsr) and write status register (wrsr). this is available in all the 3 protocols (extended spi, dio-spi, and qio-spi). 6.1.1 wip bit the write in progress (wip) bit set to 1 indi cates that the memory is busy with a write status register, program or erase cycle. 0 indicates no cycle is in progress. 6.1.2 wel bit the write enable latch (wel) bit set to 1 indica tes that the internal write enable latch is set. when set to 0 the internal write enable latch is reset and no write status register, program or erase instruction is accepted. 6.1.3 bp3, bp2, bp1, bp0 bits the block protect (bp3, bp2, bp1, bp0) bits ar e non-volatile. they define the size of the area to be software protected against program and erase instructions. these bits are written with the write status r egister (wrsr) instruction. wh en one or more of the block protect (bp3, bp2, bp1, bp0) bits is set to 1, the relevant memory area, as defined in table 10.: protected area sizes (tb bit = 0) and table 11.: protected area sizes (tb bit = 1) , becomes protected against all program and er ase instructions. the block protect (bp3, bp2, bp1, bp0) bits can be written provided th at the hardware protected mode has not been set. the bulk erase (be) instruction is executed if, and only if, all block protect (bp3, bp2, bp1, bp0) bits are 0. 6.1.4 tb bit the top/bottom (tb) bit is non-volatile. it can be set and reset with the write status register (wrsr) instruction provided that the write enable (wren) instruction has been issued. table 3. status register format b7 b0 srwd bp3 tb bp2 bp1 bp0 wel wip status register write protect top/bottom bit block protect bits write enable latch bit write in progress bit
N25Q128 - 1.8 v volatile and non volatile registers 35/185 the top/bottom (tb) bit is used in conjunct ion with the block prot ect (bp3, bp2, bp1, bp0) bits to determine if the protected area defined by the block protect bits starts from the top or the bottom of the memory array: ? when tb is reset to '0' (default value), th e area protected by the block protect bits starts from the top of the memory array. ? when tb is set to '1', the area protected by the block protect bits starts from the bottom of the memory array. the tb bit cannot be written when the srwd bit is set to '1' and the w pin is driven low. 6.1.5 srwd bit the status register write disable (srwd) bi t is operated in conjunction with the write protect (w /vpp) signal. the status r egister write disable (srwd) bit and the write protect (w /vpp) signal allow the device to be put in the ha rdware protec ted mode (when the status register write disable (srwd) bit is set to '1', and write protect ((w /vpp) is driven low). in this mode, the non-volatile bits of the status register (tb, bp3, bp2, bp1, bp0) become read-only bits and the write status register (wrsr) instruction is no longer accepted for execution. 6.2 non volatile configuration register the non volatile configuration register (nvcr) bits affects the default memory configuration after power-on. it can be used to make the memory start in the configuration to fit the application requirements. the device is delivered with non volatile config uration register (nvcr) bits all erased to 1 (ffffh). the purpose of the nvcr is to define the def ault memory settings after the power-on sequence related to many features: ? the number of dummy clock cycle for fast read instructions, ? xip mode configurations, ? output driver strengths, ? fast por sequence, ? reset (or hold) disabling ? multiple i/o protocol enabling. the nvcr can be read by the read non vo latile configuration register (rdnvcr) instruction and written by the write non volatile configurati on register (wrnvcr) in all the 3 available spi protocols. see the sections that follow as well as table 4.: non-volatile configuration register .
volatile and non volatile registers N25Q128 - 1.8 v 36/185 table 4. non-volatile configuration register bit parameter value description note nvcr<15:12> dummy clock cycle 0000 as '1111' to optimize instruction execution (fastread, dofr,diofr,qofr, qiofr, rotp) according to the frequency 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 10 1011 11 1100 12 1101 13 1110 14 1111 target on maximum allowed frequency fc (108mhz) and to guarantee backward compatibility (default) nvcr<11:9> xip enabling at por 000 xip for sio read 001 xip for dofr 010 xip for diofr 011 xip for qofr 100 xip for qiofr 101 reserved 110 reserved 111 xip disabled (default) nvcr<8:6> output driver strength 000 reserved impedance at vcc/2 001 90 010 60 011 45 100 reserved 101 20 110 15
N25Q128 - 1.8 v volatile and non volatile registers 37/185 6.2.1 dummy clock cycle nv configurat ion bits (nvcr bits from 15 to 12) the bits from 15 to 12 of the non volatile configuration register store the default settings for the dummy clock cycles number after the fast read instructions (in all the 3 available protocols). the dummy clock cycles number can be set from 1 up to 15 as described here, according to operating frequency (the higher is the operating frequency, the bigger must be the dummy clock cycle number) to optimize the fast read instructions performance. the default values of these bits allow the memory to be safely used with fast read instructions at the maximum frequency (108 mh z). please note that if the dummy clock number is not sufficient for the operating frequency, the memory reads wrong data. table 5. maximum allowed frequency (mhz) 111 30 (default) nvcr<5> fast por x read 0 enabled por phase < 100us only read available 1 disabled (default) por phase ~ 700us all instructions available nvcr<4> reset/hold disable 0 disabled disable pad hold/reset functionality 1 enabled (default) nvcr<3> quad input command 0 enabled enable command on four input line 1 disabled (default) nvcr<2> dual input command 0 enabled enable command on two input line 1 disabled (default) nvcr<1:0> reserved xx don't care default value = "11" table 4. non-volatile configuration register bit parameter value description note maximum allowed frequency (mhz) (1) 1. all values are guaranteed by characterization and not 100% tested in production. dummy clock fastread dofr diofr qofr qiofr 1 50 50394320 2 95 85595639 3 105 95 75 70 49 4 108 105 88 83 59 5 108 108 94 94 69 6 108 108 105 105 78 7 108 108 108 108 86 8 108 108 108 108 95 9 108 108 108 108 105 10 108 108 108 108 108
volatile and non volatile registers N25Q128 - 1.8 v 38/185 6.2.2 xip nv configuration bits (nvcr bits from 11 to 9) the bits from 11 to 9 of the non volatile conf iguration register store the default settings for the xip operation, allowing the memory to start working directly on the required xip mode after successive por sequence: the device then accepts only address on one, two, or four wires (skipping the instruction) depending on the nvcr xip bits settings. the default settings for the xip bits of the nvcr enable the memory to start working in extended spi mode after the por sequence (xip directly after por is disabled). 6.2.3 output driver strengt h nv configuration bits (nvcr bits from 8 to 6) the bits from 8 to 6 of the non volatile conf iguration register store the default settings for the output driver strength, enabling to optimi ze the impedance at vcc/2 output voltage for the specific application. the default values of output driver strength bits of the nvcr set the output impedance at vcc/2 equal to 30 ohms. 6.2.4 fast por nv confi guration bit (nvcr bit 5) the bit 5 of the nvcr enables the fast por sequence to speed up the application boot phase before the first read instruction: if ena bled, the fast por allows to perform the first read operation after less than 100us. please note that this timing is valid only for the reading operations: if a modify instruction is then required, after the first wren instruction the complete por phase will be performed, result ing in latency time between the wren and the receiving of the modify instruction (~500us). during this latency time, when the power on second phase is running, no instructi on will be accepted except the standard polling instructions either on the flag status register or in the status register. the default values of fast por bit of the nvcr is set to disable the fast por feature, in this case the por sequence requires the standard value of ~500us and after the first wren instruction no relevant latency time is needed. 6.2.5 hold (reset) disable nv configuration bit (nvcr bit 4) the hold (reset) disable bit can be used to di sable the hold (reset) functionality of the hold (reset ) / dq3 pin as described in table 4.: non-volatile configuration register . this feature can be useful to avoid accidental hold or reset condition entries in applications that never require the hold (reset) functionality. the default values of hold (reset) bit of t he nvcr is set to enable the hold (reset) functionality. note: reset functionality is available instead of hold in devices with a dedicated part number. see section 16: ordering information . 6.2.6 quad input nv conf iguration bit (nvcr bit 3) the quad input nv configuration bit can be used to make the memory start working in qio- spi protocol directly after the power on sequence. the products are delivered with this set to 1, making the memory default in extended spi protocol, if the application sets this bit to 0 the device will enter in qio-spi protocol right af ter the next power on. please note that in case both qio-spi and di o-spi are enabled (both bit 3 and bit 2 of the non volatile configuration register set to 0), the memory will work in qio-spi.
N25Q128 - 1.8 v volatile and non volatile registers 39/185 6.2.7 dual input nv conf iguration bit (nvcr bit 2) the dual input nv configuration bit can be used to make the memory start working in dio- spi protocol directly after the power on sequence. the products are delivered with this set to 1, making the memory default in extended spi protocol, if the application sets this bit to 0 the device will enter in qio-spi protocol right af ter the next power on. please note that in case both qio-spi and di o-spi are enabled (both bit 3 and bit 2 of the non volatile configuration register set to 0), the memory will work in qio-spi. 6.3 volatile configuration register the volatile configuration register (vcr) affects the memory configuration after every execution of write volatile configuration regi ster (wrvcr) instructi on: this instruction overwrite the memory configuration set at por by the non volatile co nfiguration register (nvcr). its purpose is to define the dummy clock cycles number and to make the device ready to enter in th e required xip mode.
volatile and non volatile registers N25Q128 - 1.8 v 40/185 6.3.1 dummy clock cycle vola tile configurations bits (vcr bits from 7 to 4) the bits from 7 to 4 of the volatile configurat ion register, as the bits from 15 to 12 of the volatile configuration register, set the dummy clock cycles number after the fast read instructions (in all the 3 available protocol s). the dummy clock cycles number can be set from 1 up to 15 as described in table 6.: volatile configuration register , according to operating frequency (the higher is the opera ting frequency, the bigger must be the dummy clock cycle number, according to table 5.: maximum allowed frequency (mhz) ) to optimize the fast read instructions performance. note: if the dummy clock number is not sufficient for the operating frequency, the memory reads wrong data. table 6. volatile configuration register bit parameter value description note vcr<7:4> dummy clock cycle 0000 as '1111' to optimize instruction execution (fastread, dofr,diofr,qofr, qiofr, rotp) according to the frequency 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1010 10 1011 11 1100 12 1101 13 1110 14 1111 target on maximum allowed frequency fc (108mhz) and to guarantee backward compatibility (default) vcr<3> xip 0 ready to enter xip mode to make the data on dq0 during the first dummy clock not ?don?t care.? for devices with feature set digit equal to 2 or 4 in the part number (basic xip), this bit is always don't care" 1 xip disabled (default) vcr<2:0> reserved xxx reserved fixed value = 000b
N25Q128 - 1.8 v volatile and non volatile registers 41/185 6.3.2 xip volatile confi guration bits (vcr bit 3) the bit 3 of the volatile configuration register is the xip enabling bit, this bit must be set to 0 to enable the memory working on xip mode. for devices with a feature set digit equal to 2 or 4 in the part number (basic xip), this bit is always don't care, and it is possible to operate the memory in xip mode without setting it to 0. see section 16: orde ring information . 6.4 volatile enhanced configuration register the volatile enhanced configuration register (vecr) affects the memory configuration after every execution of write volatile enhanced configuration register (wrvecr) instruction: this instructio n overwrite the memory configuration set during the por sequence by the non volatile configuration register (nvcr). its purpose is: ? enabling of qio-spi protocol and dio-spi protocol warning: warning: in case of both qio-spi and dio-spi enabled, the memory works in qio-spi ? hold (reset) functionality disabling ? to enable the vpp functionality in quad i/o modify operations ? to define output driver strength (3 bit)
volatile and non volatile registers N25Q128 - 1.8 v 42/185 6.4.1 quad input command vecr<7> the quad input command configuration bit can be used to make the memory start working in qio-spi protocol directly after the write volatile enhanced configuration register (wrvecr) instruction. the default value of th is bit is 1, corresponding to extended spi protocol, if this bit is set to 0 the memory works in qio-spi protocol. if vecr bit 7 is set back to 1 the memory start working again in extended spi protocol, unless the bit 6 is set to 0 (in this case the memory start working in dio-spi mode) . please note that in case both qio-spi and di o-spi are enabled (both bit 7and bit 6 of the vecr set to 0), the memory will work in qio-spi. 6.4.2 dual input command vecr<6> the dual input command configuration bit can be used to make the memory start working in dio-spi protocol directly after the writ e volatile enhanced configuration register (wvecr) instruction. the default value of this bit is 1, corresponding to extended spi protocol, if this bit is set to 0 the memory works in dio-spi protocol (unless the volatile enhanced configuration register bit 7 is al so set to 0). if the volatile enhanced configuration register bit 6 is set back to 1 the memory start working again in extended spi protocol. please note that in case both qio-spi and di o-spi are enabled (both bit 7 and bit 6 of the vecr are set to 0), the memory will work in qio-spi. table 7. volatile enhanced configuration register bit parameter value description note vecr<7> quad input command 0 enabled enable command on four input lines 1 disabled (default) vecr<6> dual input command 0 enabled enable command on two input lines 1 disabled (default) vecr<5> reserved x reserved fixed value = 0b vecr<4> reset/hold disable 0 disabled disable pad hold/reset functionality 1 enabled (default) vecr<3> accelerator pin enable in qio-spi protocol or in qifp/qiefp 0 enabled the bit must be considered in case of qifp, qiefp, or qio-spi protocol. it is ?don?t care? otherwise. 1 disabled (default) vecr<2:0> output driver strength 000 reserved impedance at v cc /2 001 90 010 60 011 45 100 reserved 101 20 110 15 111 30 (default)
N25Q128 - 1.8 v volatile and non volatile registers 43/185 6.4.3 reset/hold disable vecr<4> the hold (reset) disable bit can be used to di sable the hold (reset) functionality of the hold (rese t) / dq3 pin right after the write vola tile enhanced configuration register (wvecr) instruction. this feature can be useful to avoid accidental hold or reset condition entries in applications th at never require the hold (reset) functionality. if this bit is set to 0 the hold (reset) functionality is disabled, it is po ssible to enable it back by setting this bit to 1. please note that after the ne xt power on the hold (reset) fu nctionality will be enabled again unless the bit 4 of the non volatile configuration regist er is set to 0. note: reset functionality is available instead of hold in devices with a dedicated part number. see section 16: ordering information . 6.4.4 accelerator pin enable: qio- spi protocol / qifp/qiefp vecr<3> the bit 3 of the volatile enhanced configuration register determines wh ether it is possible to use the vpp accelerating voltage to speed up the internal modify operation with the quad program and erase instructions (both in extended or qio-spi protocols). to use the vpp voltage with the quad i/o modify instructions, this bit must be set to 0. the default value is 1, in which case the vpp pin functionality is disabled in all quad i/o operations: both in extended spi and qio-spi protocols. if the volatile enhanced configuration register bi t 3 is set to 0, using the qio-spi protocol, after a quad command page program instruction or an erase instruction is received (with all input data in the program case) and the memo ry is de-selected, the protocol temporarily switches to extended spi protocol until vpp pa sses from vpph to normal i/o value (this transition is mandatory to come back to qio-spi protocol), to enable the possibility to perform polling instructions (to ch eck if the internal modify cycl e is finished by means of the wip bit of the status register or of the program/erase controller bit of the flag status register) or program/erase suspend instruction even if the dq2 pin is temporarily used in his vpp functionality. if the volatile enhanced configuration register bit 3 is set to 0, after any quad modify instruction (both in extended spi protocol and qio-spi protocol), there is a maximum allowed time-out of 200 ms after the last instruction input is received and the memory is de- selected to raise the vpp signal to vpph; othe rwise, the modify instruction starts at normal speed, without the vpph enhancement, and a flag error appears on flag status register bit 3. 6.4.5 output driver strength vecr<2:0> the bits from 2 to 0 of the vecr set the value of the output driver strength, enabling to optimize the impedance at vcc/2 output voltage for the specific application as described in table 7.: volatile enhanced configuration register . the default values of output driver strength is set by the dedicated bits of the non volatile configuration register (nvcr), the parts are delivered with the output impedance at vcc/2 equal to 30 ohms.
volatile and non volatile registers N25Q128 - 1.8 v 44/185 6.5 flag status register the flag status register is a powerful tool to investigate the status of the device, checking information regarding what is actually doing the memory and detecting possible error conditions. the flag status register is composed by 8 bit. three bits (program/era se controller bit, erase suspend bit and program suspend bit) ar e a ?status indicator bit?, they are set and reset automatically by the memory . four bits (erase error bit, program error bit, vpp 1 to 0 error bit and protection error bit) are ?error indicators bits?, they are set by the memory when some program or erase operation fails or the user tries to perform a forbidden operation. the user can clear the error indicato rs bits by mean of the clear flag status register (clfsr) instruction. all the flag status register bits can be read by mean of the read status register (rfsr) instruction.
N25Q128 - 1.8 v volatile and non volatile registers 45/185 6.5.1 p/e controll er status bit the bit 7 of the flag status register repres ents the program/erase controller status bit, it indicates whether there is a program/erase internal cycle active. when p/e controller status bit is low (fsr<7>=0) the device is busy; when the bit is high (fsr<7>=1) the device is ready to process a new command. this bit has the same meaning of write in progress (wip) bit of the standard spi status register, but with opposite logic: fsr<7> = not wip it's possible to make t he polling instructions, to check if the internal modify operations are finished, both on the flag status register bi t 7 or on wip bit of the status register. 6.5.2 erase suspend status bit the bit 6 of the flag status register represen ts the erase suspend status bit, it indicates that an erase operation has been suspended or is going to be suspended. the bit is set (fsr<6>=1) within the erase sus pend latency time, that is as soon as the program/erase suspend command (pes) has been i ssued, therefore th e device may still complete the operation before entering the suspend mode. the erase suspend status should be considered valid when the p/e controller bit is high (fsr<7>=1). when a program/erase resume command (per) is issued the erase suspend status bit returns low (fsr<6>=0) 6.5.3 erase status bit the bit 5 of the flag status register represents the erase status bit. it indicates an erase failure or a protection error when an erase operation is issued. when the erase status bit is high (fsr<5>=1) after an erase failure that means that the p/e controller has applied the ma ximum pulses number to the portion to be erased and still failed to verify that it has correctly erased. the erase status bit should be read once the p/e controller status bit is high. table 8. flag status register bit description note 7 p/e controller (not wip) status 6 erase suspend status 5 erase error 4 program error 3 vpp error 2 program suspend status 1 protection error 0 reserved
volatile and non volatile registers N25Q128 - 1.8 v 46/185 the erase status bit is related to all possible erase operations: sector erase, sub sector erase, and bulk erase in all the three available protocols (spi, dio-spi and qio-spi). once the bit 5 is set high, it can only be reset low (fsr<5>=0) by a clear flag status register command (clfsr). if set high it should be reset before a new erase command is issued; otherwise the new command will appear to fail. 6.5.4 program status bit the bit 4 of the flag status register repr esents the program status bit. it indicates: ? a program failure ? an attempt to program a '1' on '0' when vpp= vpph (only when the pattern is a multiple of 64 bits, otherwise this bit is "don't care"). ? a protection error when a program is issued when the program status bit is high (fsr<4>=1) after a program failure that means that the p/e controller has applied the maximum pulses number to the bytes and it still failed to verify that the required data have been correctly programmed. after an attempt to program '1' on '0', the fsr<4> only goes high (fsr<4>=1) if vpp=vpph and the data pattern is a multiple of 64 bits: if vpp is not vpph, fsr<4> remains low and the atte mpt is not shown while if vpp is equal to vpph but the pattern is not a 64 bits multiple the bit 4 is don't care. the program status bit should be read once the p/e controller status bit is high. the program status bit is related to all poss ible program operations in the extended spi protocol: page program, dual and quad input fast program, dual and quad input extended fast program, and otp program. the program status bit is related to the following program operations in the dio-spi and qio-spi protocols: dual and quad command page program and otp program. once the bit is set high, it can only be reset low (fsr<4>=0) by a clear flag status register command (clfsr). if set high it should be reset before a new program command is issued, otherwise the new command will appear to fail. 6.5.5 vpp status bit the bit 3 of the flag status register represents the vpp status bit. it indicates an invalid voltage on the vpp pin during program and er ase operations. the vpp pin is sampled at the beginning of a program or erase operation. if vpp becomes invalid during an operation, that is the voltage on vpp pin is below the vpph voltage (9v), the vpp status bit goes high (fsr<3>=1) and in determinate results can occur. once set high, the vpp status bit can only be reset low (fsr<3>=0) by a clear flag status register command (clfsr). if set high it should be reset before a new program or erase command is issued, ot herwise the new comman d will appear to fail. 6.5.6 program suspend status bit the bit 2 of the flag status register represen ts the program suspend status bit, it indicates that an program operation has been suspended or is going to be suspended.
N25Q128 - 1.8 v volatile and non volatile registers 47/185 the bit is set (fsr<2>=1) within the erase sus pend latency time, that is as soon as the program/erase suspend command (pes) has been i ssued, therefore th e device may still complete the operation before entering the suspend mode. the program suspend status should be consider ed valid when the p/e controller bit is high (fsr<7>=1). when a program/erase resume command (per) is issued the program suspend status bit returns low (fsr<2>=0) 6.5.7 protection status bit the bit 1 of the flag status register represents the protection status bit. it indicates that an erase or program operation has tried to modify the contents of a protected array sector, or that a modify operation has tried to access to a locked otp space. the protection status bit is related to all possible protection violations as follows: ? the sector is protected by software protection mode 1 (spm1) lock registers, ? the sector is protected by software protection mode 2 (spm2) block protect bits (standard spi status register), ? an attempt to program otp when locked, ? a write status register comm and (wrsr) on std spi status register when locked by the srwd bit in conjunctio n with the write protect (w /vpp) signal (hardw are protection mode). once set high, the protection st atus bit can only be reset low (fsr<1>=0) by a clear flag status register command (clfsr). if set high it should be reset before a new command is issued, otherwise the new command will appear to fail.
protection modes N25Q128 - 1.8 v 48/185 7 protection modes there are protocol-related and specific hardwa re and software protection modes. they are described below. 7.1 spi protocol-related protections this applies to all three protocols. the en vironments where non-volatile memory devices are used can be very noisy. no spi device can operate correctly in the presence of excessive noise. to help combat this, the n2 5q128 features the following data protection mechanisms: ? power on reset and an internal timer (tpuw) can provide protection against inadvertent changes while the power supply is outside the oper ating specification. ? program, erase, and write st atus register instructions are checked to ensure the instruction includes a number of clock pulses th at is a multiple of a byte before they are accepted for execution. ? all instructions that modify data must be preceded by a write enable (wren) instruction to set the write enable latch (wel) bit. this bit is returned to its reset state by the following events (in extended spi protocol mode): ?power-up ? write disable (wrdi) instruction completion ? write status register (w rsr) instruction completion ? write to lock register (w rlr) instruction completion ? program otp (potp) instruction completion ? page program (pp) instruction completion ? dual input fast program (difp) instruction completion ? dual input extended fast program (diefp) instruction completion ? quad input fast program (qifp) instruction completion ? quad input extended fast progra m (qiefp) instruction completion ? subsector erase (sse) instruction completion ? sector erase (se) instruction completion ? bulk erase (be) instruction completion this bit is also returned to its reset state after all the analogous events in dio-spi and qio- spi protocol modes. 7.2 specific hardware and software protection there are two software protected modes, spm1 and spm2, that can be combined to protect the memory array as required. the spm2 can be locked by hardware with the help of the w input pin. spm1 the first software protected mode (spm1) is managed by specific lo ck registers assigned to each 64 kbyte sector.
N25Q128 - 1.8 v protection modes 49/185 the lock registers can be read and written using the read lock register (rdlr) and write to lock register (wrlr) instructions. in each lock register two bits control the protection of each sector: the write lock bit and the lock down bit. ? write lock bit: the write lock bit determines whether the contents of the sector can be modified (using the write, program, or erase instructions). when the write lock bit is set to '1', the sector is write protected - any operations that attempt to change the data in the sector will fail. when th e write lock bit is reset to '0', the sector is not write protected by the lock regi ster, and may be modified. ? lock down bit: the lock down bit provides a mechanism for protecting software data from simple hacking and malicious attack. when the lock down bit is set to '1', further modification to the write lock and lock down bits cannot be performed. a powerup is required before changes to these bits can be made. when the lock down bit is reset to '0', the write lock and lock down bits can be changed. the definition of the lock register bits is given in table 9: lock register out. spm2 the second software protected mode (spm2) uses the block protect bits (bp3, bp2, bp1, bp0) and the top/bottom bit (tb bit) to allow part of the memory to be configured as read- only. see section 16: orderi ng information . as a second level of protection, the write protect signal (applied on the w /vpp pin) can freeze the status register in a read-only mode. in this mode, the block protect bits (bp3, bp2, bp1, bp0) and the status register write disable bit (srwd) are protected. table 9. software protection truth table (sectors 0 to 255, 64 kbyte) sector lock register protection status lock down bit write lock bit 00 sector unprotected from program/erase/w rite operations, protection status reversible. 01 sector protected from program/eras e/write operations, protection status reversible. 10 sector unprotected from progr am/erase/write operations. sector protection status cannot be changed except by a power-up. 11 sector protected from program/erase/write operations. sector protection status cannot be changed except by a power-up.
protection modes N25Q128 - 1.8 v 50/185 table 10. protected area sizes (tb bit = 0) status register content memory content tb bit bp3 bit pb2 bit bp1 bit bp0 bit protected area unprotected area 00000none all sectors (sectors 0 to 255) 00001 upper 256th (1/2 mbit, sector 255) sectors 0 to 254 00010 upper 128th (1 mbit, 2 sectors: 254 to 255) sectors 0 to 253 00011 upper 64th (2 mbit, 4 sectors: 252 to 255) sectors 0 to 251 00100 upper 32nd (4 mbit, 8 sectors: 248 to 255) sectors 0 to 247 00101 upper 16th (8 mbit, 16 sectors: 240 to 255) sectors 0 to 239 00110 upper 8th (16 mbit, 32 sectors: 224 to 255) sectors 0 to 223 00111 upper quarter (32 mbit, 64 sectors: 193 to 255) lower 3 quarters (sectors 0 to 191) 01000 upper half (64 mbit, 128 sectors: 128 to 255) lower half (sectors 0 to 127) 01001 all sectors (128 mbit, 256 sectors) none 01010 all sectors (128 mbit, 256 sectors) none 01011 all sectors (128 mbit, 256 sectors) none 01100 all sectors (128 mbit, 256 sectors) none 01101 all sectors (128 mbit, 256 sectors) none 01110 all sectors (128 mbit, 256 sectors) none 01111 all sectors (128 mbit, 256 sectors) none
N25Q128 - 1.8 v protection modes 51/185 the N25Q128 is available in the following architecture versions: ? bottom version, 64 kb uniform sectors pl us 8 bottom boot sectors (each with 16 subsectors), ? top version, 64 kb uniform sectors plus 8 t op boot sectors (each with 16 subsectors) ? uniform version, 64 kb uniform sectors without any boot sectors and subsectors. table 11. protected area sizes (tb bit = 1) status register content memory content tb bit bp3 bit pb2 bit bp1 bit bp0 bit protected area unprotected area 10000none all sectors (sectors 0 to 255) 10001 lower 256th (1/2 mbit, sector 0) sectors 1 to 255 10010 lower 128th (1 mbit, 2 sectors: 0 to 1) sectors 2 to 255 10011 lower 64th (2 mbit, 4 sectors: 0 to 3) sectors 4 to 255 10100 lower 32nd (4 mbit, 8 sectors: 0 to 7) sectors 8 to 255 10101 lower 16th (8 mbit, 16 sectors: 0 to 15) sectors 16 to 255 10110 lower 8th (16 mbit, 32 sectors: 0 to 31) sectors 33 to 255 10111 lower quarter (32 mbit, 64 sectors: 0 to 63) upper 3 quarters (sectors 64 to 255) 11000 lower half (64 mbit, 128 sectors: 0 to 127) upper half (sectors 128 to 255) 11001 all sectors (128 mbit, 256 sectors) none 11010 all sectors (128 mbit, 256 sectors) none 11011 all sectors (128 mbit, 256 sectors) none 11100 all sectors (128 mbit, 256 sectors) none 11101 all sectors (128 mbit, 256 sectors) none 11110 all sectors (128 mbit, 256 sectors) none 11111 all sectors (128 mbit, 256 sectors) none
memory organization N25Q128 - 1.8 v 52/185 8 memory organization the memory is organized as: ? 16,777,216 bytes (8 bits each) ? 256 sectors (64 kbytes each) ? in bottom and top versions: 8 bottom (top) 64 kbytes boot sectors with 16 subsectors (4 kbytes) and 248 standard 64 kb sectors ? 65,536 pages (256 bytes each) ? 64 otp bytes located outside the main memory array each page can be individually programmed (bits are programmed from 1 to 0). the device is sector or bulk erasable (bits are erased from 0 to 1) but not page erasable, subsector erase is allowed on the 8 boot sectors (for devices with bottom or top architecture). figure 9. block diagram ai13722a hold s w/v pp control logic high voltage generator i/o shift register address register and counter 256 byte data buer 256 bytes (page size) x decoder y decoder c status register 00000h ffffffh 000ffh 64 otp bytes dq1 dq0 dq3 dq2
N25Q128 - 1.8 v memory organization 53/185 table 12. memory organization (uniform) (page 1 of 8) sector address range 255 ff0000 ffffff 254 fe0000 feffff 253 fd0000 fdffff 252 fc0000 fcffff 251 fb0000 fbffff 250 fa0000 faffff 249 f90000 f9ffff 248 f80000 f8ffff 247 f70000 f7ffff 246 f60000 f6ffff 245 f50000 f5ffff 244 f40000 f4ffff 243 f30000 f3ffff 242 f20000 f2ffff 241 f10000 f1ffff 240 f00000 f0ffff 239 ef0000 efffff 238 ee0000 eeffff 237 ed0000 edffff 236 ec0000 ecffff 235 eb0000 ebffff 234 ea0000 eaffff 233 e90000 e9ffff 232 e80000 e8ffff 231 e70000 e7ffff 230 e60000 e6ffff 229 e50000 e5ffff 228 e40000 e4ffff 227 e30000 e3ffff 226 e20000 e2ffff 225 e10000 e1ffff 224 e00000 e0ffff 223 df0000 dfffff 222 de0000 deffff
memory organization N25Q128 - 1.8 v 54/185 221 dd0000 ddffff 220 dc0000 dcffff 219 db0000 dbffff 218 da0000 daffff 217 d90000 d9ffff 216 d80000 d8ffff 215 d70000 d7ffff 214 d60000 d6ffff 213 d50000 d5ffff 212 d40000 d4ffff 211 d30000 d3ffff 210 d20000 d2ffff 209 d10000 d1ffff 208 d00000 d0ffff 207 cf0000 cfffff 206 ce0000 ceffff 205 cd0000 cdffff 204 cc0000 ccffff 203 cb0000 cbffff 202 ca0000 caffff 201 c90000 c9ffff 200 c80000 c8ffff 199 c70000 c7ffff 198 c60000 c6ffff 197 c50000 c5ffff 196 c40000 c4ffff 195 c30000 c3ffff 194 c20000 c2ffff 193 c10000 c1ffff 192 c00000 c0ffff 191 bf0000 bfffff 190 be0000 beffff 189 bd0000 bdffff 188 bc0000 bcffff 187 bb0000 bbffff table 12. memory organization (uniform) (page 2 of 8) sector address range
N25Q128 - 1.8 v memory organization 55/185 186 ba0000 baffff 185 b90000 b9ffff 184 b80000 b8ffff 183 b70000 b7ffff 182 b60000 b6ffff 181 b50000 b5ffff 180 b40000 b4ffff 179 b30000 b3ffff 178 b20000 b2ffff 177 b10000 b1ffff 176 b00000 b0ffff 175 af0000 afffff 174 ae0000 aeffff 173 ad0000 adffff 172 ac0000 acffff 171 ab0000 abffff 170 aa0000 aaffff 169 a90000 a9ffff 168 a80000 a8ffff 167 a70000 a7ffff 166 a60000 a6ffff 165 a50000 a5ffff 164 a40000 a4ffff 163 a30000 a3ffff 162 a20000 a2ffff 161 a10000 a1ffff 160 a00000 a0ffff 159 9f0000 9fffff 158 9e0000 9effff 157 9d0000 9dffff 156 9c0000 9cffff 155 9b0000 9bffff 154 9a0000 9affff 153 990000 99ffff 152 980000 98ffff table 12. memory organization (uniform) (page 3 of 8) sector address range
memory organization N25Q128 - 1.8 v 56/185 151 970000 97ffff 150 960000 96ffff 149 950000 95ffff 148 940000 94ffff 147 930000 93ffff 146 920000 92ffff 145 910000 91ffff 144 900000 90ffff 143 8f0000 8fffff 142 8e0000 8effff 141 8d0000 8dffff 140 8c0000 8cffff 139 8b0000 8bffff 138 8a0000 8affff 137 890000 89ffff 136 880000 88ffff 135 870000 87ffff 134 860000 86ffff 133 850000 85ffff 132 840000 84ffff 131 830000 83ffff 130 820000 82ffff 129 810000 81ffff 128 800000 80ffff 127 7f0000 7fffff 126 7e0000 7effff 125 7d0000 7dffff 124 7c0000 7cffff 123 7b0000 7bffff 122 7a0000 7affff 121 790000 79ffff 120 780000 78ffff 119 770000 77ffff 118 760000 76ffff 117 750000 75ffff table 12. memory organization (uniform) (page 4 of 8) sector address range
N25Q128 - 1.8 v memory organization 57/185 116 740000 74ffff 115 730000 73ffff 114 720000 72ffff 113 710000 71ffff 112 700000 70ffff 111 6f0000 6fffff 110 6e0000 6effff 109 6d0000 6dffff 108 6c0000 6cffff 107 6b0000 6bffff 106 6a0000 6affff 105 690000 69ffff 104 680000 68ffff 103 670000 67ffff 102 660000 66ffff 101 650000 65ffff 100 640000 64ffff 99 630000 63ffff 98 620000 62ffff 97 610000 61ffff 96 600000 60ffff 95 5f0000 5fffff 94 5e0000 5effff 93 5d0000 5dffff 92 5c0000 5cffff 91 5b0000 5bffff 90 5a0000 5affff 89 590000 59ffff 88 580000 58ffff 87 570000 57ffff 86 560000 56ffff 85 550000 55ffff 84 540000 54ffff 83 530000 53ffff 82 520000 52ffff table 12. memory organization (uniform) (page 5 of 8) sector address range
memory organization N25Q128 - 1.8 v 58/185 81 510000 51ffff 80 500000 50ffff 79 4f0000 4fffff 78 4e0000 4effff 77 4d0000 4dffff 76 4c0000 4cffff 75 4b0000 4bffff 74 4a0000 4affff 73 490000 49ffff 72 480000 48ffff 71 470000 47ffff 70 460000 46ffff 69 450000 45ffff 68 440000 44ffff 67 430000 43ffff 66 420000 42ffff 65 410000 41ffff 64 400000 40ffff 63 3f0000 3fffff 62 3e0000 3effff 61 3d0000 3dffff 60 3c0000 3cffff 59 3b0000 3bffff 58 3a0000 3affff 57 390000 39ffff 56 380000 38ffff 55 370000 37ffff 54 360000 36ffff 53 350000 35ffff 52 340000 34ffff 51 330000 33ffff 50 320000 32ffff 49 310000 31ffff 48 300000 30ffff 47 2f0000 2fffff table 12. memory organization (uniform) (page 6 of 8) sector address range
N25Q128 - 1.8 v memory organization 59/185 46 2e0000 2effff 45 2d0000 2dffff 44 2c0000 2cffff 43 2b0000 2bffff 42 2a0000 2affff 41 290000 29ffff 40 280000 28ffff 39 270000 27ffff 38 260000 26ffff 37 250000 25ffff 36 240000 24ffff 35 230000 23ffff 34 220000 22ffff 33 210000 21ffff 32 200000 20ffff 31 1f0000 1fffff 30 1e0000 1effff 29 1d0000 1dffff 28 1c0000 1cffff 27 1b0000 1bffff 26 1a0000 1affff 25 190000 19ffff 24 180000 18ffff 23 170000 17ffff 22 160000 16ffff 21 150000 15ffff 20 140000 14ffff 19 130000 13ffff 18 120000 12ffff 17 110000 11ffff 16 100000 10ffff 15 f0000 fffff 14 e0000 effff 13 d0000 dffff 12 c0000 cffff table 12. memory organization (uniform) (page 7 of 8) sector address range
memory organization N25Q128 - 1.8 v 60/185 11 b0000 bffff 10 a0000 affff 9 90000 9ffff 8 80000 8ffff 7 70000 7ffff 6 60000 6ffff 5 50000 5ffff 4 40000 4ffff 3 30000 3ffff 2 20000 2ffff 1 10000 1ffff 0 0 ffff table 13. memory organization (bottom) (page 1 of 9) sector subsector address range 255 - ff0000 ffffff 254 - fe0000 feffff 253 - fd0000 fdffff 252 - fc0000 fcffff 251 - fb0000 fbffff 250 - fa0000 faffff 249 - f90000 f9ffff 248 - f80000 f8ffff 247 - f70000 f7ffff 246 - f60000 f6ffff 245 - f50000 f5ffff 244 - f40000 f4ffff 243 - f30000 f3ffff 242 - f20000 f2ffff 241 - f10000 f1ffff 240 - f00000 f0ffff 239 - ef0000 efffff 238 - ee0000 eeffff 237 - ed0000 edffff 236 - ec0000 ecffff table 12. memory organization (uniform) (page 8 of 8) sector address range
N25Q128 - 1.8 v memory organization 61/185 235 - eb0000 ebffff 234 - ea0000 eaffff 233 - e90000 e9ffff 232 - e80000 e8ffff 231 - e70000 e7ffff 230 - e60000 e6ffff 229 - e50000 e5ffff 228 - e40000 e4ffff 227 - e30000 e3ffff 226 - e20000 e2ffff 225 - e10000 e1ffff 224 - e00000 e0ffff 223 - df0000 dfffff 222 - de0000 deffff 221 - dd0000 ddffff 220 - dc0000 dcffff 219 - db0000 dbffff 218 - da0000 daffff 217 - d90000 d9ffff 216 - d80000 d8ffff 215 - d70000 d7ffff 214 - d60000 d6ffff 213 - d50000 d5ffff 212 - d40000 d4ffff 211 - d30000 d3ffff 210 - d20000 d2ffff 209 - d10000 d1ffff 208 - d00000 d0ffff 207 - cf0000 cfffff 206 - ce0000 ceffff 205 - cd0000 cdffff 204 - cc0000 ccffff 203 - cb0000 cbffff 202 - ca0000 caffff 201 - c90000 c9ffff table 13. memory organization (bottom) (page 2 of 9) sector subsector address range
memory organization N25Q128 - 1.8 v 62/185 200 - c80000 c8ffff 199 - c70000 c7ffff 198 - c60000 c6ffff 197 - c50000 c5ffff 196 - c40000 c4ffff 195 - c30000 c3ffff 194 - c20000 c2ffff 193 - c10000 c1ffff 192 - c00000 c0ffff 191 - bf0000 bfffff 190 - be0000 beffff 189 - bd0000 bdffff 188 - bc0000 bcffff 187 - bb0000 bbffff 186 - ba0000 baffff 185 - b90000 b9ffff 184 - b80000 b8ffff 183 - b70000 b7ffff 182 - b60000 b6ffff 181 - b50000 b5ffff 180 - b40000 b4ffff 179 - b30000 b3ffff 178 - b20000 b2ffff 177 - b10000 b1ffff 176 - b00000 b0ffff 175 - af0000 afffff 174 - ae0000 aeffff 173 - ad0000 adffff 172 - ac0000 acffff 171 - ab0000 abffff 170 - aa0000 aaffff 169 - a90000 a9ffff 168 - a80000 a8ffff 167 - a70000 a7ffff 166 - a60000 a6ffff table 13. memory organization (bottom) (page 3 of 9) sector subsector address range
N25Q128 - 1.8 v memory organization 63/185 165 - a50000 a5ffff 164 - a40000 a4ffff 163 - a30000 a3ffff 162 - a20000 a2ffff 161 - a10000 a1ffff 160 - a00000 a0ffff 159 - 9f0000 9fffff 158 - 9e0000 9effff 157 - 9d0000 9dffff 156 - 9c0000 9cffff 155 - 9b0000 9bffff 154 - 9a0000 9affff 153 - 990000 99ffff 152 - 980000 98ffff 151 - 970000 97ffff 150 - 960000 96ffff 149 - 950000 95ffff 148 - 940000 94ffff 147 - 930000 93ffff 146 - 920000 92ffff 145 - 910000 91ffff 144 - 900000 90ffff 143 - 8f0000 8fffff 142 - 8e0000 8effff 141 - 8d0000 8dffff 140 - 8c0000 8cffff 139 - 8b0000 8bffff 138 - 8a0000 8affff 137 - 890000 89ffff 136 - 880000 88ffff 135 - 870000 87ffff 134 - 860000 86ffff 133 - 850000 85ffff 132 - 840000 84ffff 131 - 830000 83ffff table 13. memory organization (bottom) (page 4 of 9) sector subsector address range
memory organization N25Q128 - 1.8 v 64/185 130 - 820000 82ffff 129 - 810000 81ffff 128 - 800000 80ffff 127 - 7f0000 7fffff 126 - 7e0000 7effff 125 - 7d0000 7dffff 124 - 7c0000 7cffff 123 - 7b0000 7bffff 122 - 7a0000 7affff 121 - 790000 79ffff 120 - 780000 78ffff 119 - 770000 77ffff 118 - 760000 76ffff 117 - 750000 75ffff 116 - 740000 74ffff 115 - 730000 73ffff 114 - 720000 72ffff 113 - 710000 71ffff 112 - 700000 70ffff 111 - 6f0000 6fffff 110 - 6e0000 6effff 109 - 6d0000 6dffff 108 - 6c0000 6cffff 107 - 6b0000 6bffff 106 - 6a0000 6affff 105 - 690000 69ffff 104 - 680000 68ffff 103 - 670000 67ffff 102 - 660000 66ffff 101 - 650000 65ffff 100 - 640000 64ffff 99 - 630000 63ffff 98 - 620000 62ffff 97 - 610000 61ffff 96 - 600000 60ffff table 13. memory organization (bottom) (page 5 of 9) sector subsector address range
N25Q128 - 1.8 v memory organization 65/185 95 - 5f0000 5fffff 94 - 5e0000 5effff 93 - 5d0000 5dffff 92 - 5c0000 5cffff 91 - 5b0000 5bffff 90 - 5a0000 5affff 89 - 590000 59ffff 88 - 580000 58ffff 87 - 570000 57ffff 86 - 560000 56ffff 85 - 550000 55ffff 84 - 540000 54ffff 83 - 530000 53ffff 82 - 520000 52ffff 81 - 510000 51ffff 80 - 500000 50ffff 79 - 4f0000 4fffff 78 - 4e0000 4effff 77 - 4d0000 4dffff 76 - 4c0000 4cffff 75 - 4b0000 4bffff 74 - 4a0000 4affff 73 - 490000 49ffff 72 - 480000 48ffff 71 - 470000 47ffff 70 - 460000 46ffff 69 - 450000 45ffff 68 - 440000 44ffff 67 - 430000 43ffff 66 - 420000 42ffff 65 - 410000 41ffff 64 - 400000 40ffff 63 - 3f0000 3fffff 62 - 3e0000 3effff 61 - 3d0000 3dffff table 13. memory organization (bottom) (page 6 of 9) sector subsector address range
memory organization N25Q128 - 1.8 v 66/185 60 - 3c0000 3cffff 59 - 3b0000 3bffff 58 - 3a0000 3affff 57 - 390000 39ffff 56 - 380000 38ffff 55 - 370000 37ffff 54 - 360000 36ffff 53 - 350000 35ffff 52 - 340000 34ffff 51 - 330000 33ffff 50 - 320000 32ffff 49 - 310000 31ffff 48 - 300000 30ffff 47 - 2f0000 2fffff 46 - 2e0000 2effff 45 - 2d0000 2dffff 44 - 2c0000 2cffff 43 - 2b0000 2bffff 42 - 2a0000 2affff 41 - 290000 29ffff 40 - 280000 28ffff 39 - 270000 27ffff 38 - 260000 26ffff 37 - 250000 25ffff 36 - 240000 24ffff 35 - 230000 23ffff 34 - 220000 22ffff 33 - 210000 21ffff 32 - 200000 20ffff 31 - 1f0000 1fffff 30 - 1e0000 1effff 29 - 1d0000 1dffff 28 - 1c0000 1cffff 27 - 1b0000 1bffff 26 - 1a0000 1affff table 13. memory organization (bottom) (page 7 of 9) sector subsector address range
N25Q128 - 1.8 v memory organization 67/185 25 - 190000 19ffff 24 - 180000 18ffff 23 - 170000 17ffff 22 - 160000 16ffff 21 - 150000 15ffff 20 - 140000 14ffff 19 - 130000 13ffff 18 - 120000 12ffff 17 - 110000 11ffff 16 - 100000 10ffff 15 - f0000 fffff 14 - e0000 effff 13 - d0000 dffff 12 - c0000 cffff 11 - b0000 bffff 10 - a0000 affff 9 - 90000 9ffff 8 - 80000 8ffff 7 127 7f000 7ffff ... ... ... 112 70000 70fff 6 111 6f000 6ffff ... ... ... 96 60000 60fff 5 95 5f000 5ffff ... ... ... 80 50000 50fff 4 79 4f000 4ffff ... ... ... 64 40000 40fff 3 63 3f000 3ffff ... ... ... 48 30000 30fff 2 47 2f000 2ffff ... ... ... 32 20000 20fff table 13. memory organization (bottom) (page 8 of 9) sector subsector address range
memory organization N25Q128 - 1.8 v 68/185 1 31 1f000 1ffff ... ... ... 16 10000 10fff 0 15 f000 ffff ... ... ... 00fff table 14. memory organization (top) sector subsector address range 255 127 fff000 ffffff ... ... ... 112 ff0000 ff0fff 254 111 fef000 feffff ... ... ... 96 fe0000 fe0fff 253 95 fdf000 fdffff ... ... ... 80 fd0000 fd0fff 252 79 fcf000 fcffff ... ... ... 64 fc0000 fc0fff 251 63 fbf000 fbffff ... ... ... 48 fb0000 fb0fff 250 47 faf000 faffff ... ... ... 32 fa0000 fa0fff 249 31 f9f000 f9ffff ... ... ... 16 f90000 f90fff 248 15 f8f000 f8ffff ... ... ... 0 f80000 f80fff 247 - f70000 f7ffff 246 - f60000 f6ffff 245 - f50000 f5ffff table 13. memory organization (bottom) (page 9 of 9) sector subsector address range
N25Q128 - 1.8 v memory organization 69/185 244 - f40000 f4ffff 243 - f30000 f3ffff 242 - f20000 f2ffff 241 - f10000 f1ffff 240 - f00000 f0ffff 239 - ef0000 efffff 238 - ee0000 eeffff 237 - ed0000 edffff 236 - ec0000 ecffff 235 - eb0000 ebffff 234 - ea0000 eaffff 233 - e90000 e9ffff 232 - e80000 e8ffff 231 - e70000 e7ffff 230 - e60000 e6ffff 229 - e50000 e5ffff 228 - e40000 e4ffff 227 - e30000 e3ffff 226 - e20000 e2ffff 225 - e10000 e1ffff 224 - e00000 e0ffff 223 - df0000 dfffff 222 - de0000 deffff 221 - dd0000 ddffff 220 - dc0000 dcffff 219 - db0000 dbffff 218 - da0000 daffff 217 - d90000 d9ffff 216 - d80000 d8ffff 215 - d70000 d7ffff 214 - d60000 d6ffff 213 - d50000 d5ffff 212 - d40000 d4ffff 211 - d30000 d3ffff 210 - d20000 d2ffff table 14. memory organization (top) sector subsector address range
memory organization N25Q128 - 1.8 v 70/185 209 - d10000 d1ffff 208 - d00000 d0ffff 207 - cf0000 cfffff 206 - ce0000 ceffff 205 - cd0000 cdffff 204 - cc0000 ccffff 203 - cb0000 cbffff 202 - ca0000 caffff 201 - c90000 c9ffff 200 - c80000 c8ffff 199 - c70000 c7ffff 198 - c60000 c6ffff 197 - c50000 c5ffff 196 - c40000 c4ffff 195 - c30000 c3ffff 194 - c20000 c2ffff 193 - c10000 c1ffff 192 - c00000 c0ffff 191 - bf0000 bfffff 190 - be0000 beffff 189 - bd0000 bdffff 188 - bc0000 bcffff 187 - bb0000 bbffff 186 - ba0000 baffff 185 - b90000 b9ffff 184 - b80000 b8ffff 183 - b70000 b7ffff 182 - b60000 b6ffff 181 - b50000 b5ffff 180 - b40000 b4ffff 179 - b30000 b3ffff 178 - b20000 b2ffff 177 - b10000 b1ffff 176 - b00000 b0ffff 175 - af0000 afffff table 14. memory organization (top) sector subsector address range
N25Q128 - 1.8 v memory organization 71/185 174 - ae0000 aeffff 173 - ad0000 adffff 172 - ac0000 acffff 171 - ab0000 abffff 170 - aa0000 aaffff 169 - a90000 a9ffff 168 - a80000 a8ffff 167 - a70000 a7ffff 166 - a60000 a6ffff 165 - a50000 a5ffff 164 - a40000 a4ffff 163 - a30000 a3ffff 162 - a20000 a2ffff 161 - a10000 a1ffff 160 - a00000 a0ffff 159 - 9f0000 9fffff 158 - 9e0000 9effff 157 - 9d0000 9dffff 156 - 9c0000 9cffff 155 - 9b0000 9bffff 154 - 9a0000 9affff 153 - 990000 99ffff 152 - 980000 98ffff 151 - 970000 97ffff 150 - 960000 96ffff 149 - 950000 95ffff 148 - 940000 94ffff 147 - 930000 93ffff 146 - 920000 92ffff 145 - 910000 91ffff 144 - 900000 90ffff 143 - 8f0000 8fffff 142 - 8e0000 8effff 141 - 8d0000 8dffff 140 - 8c0000 8cffff table 14. memory organization (top) sector subsector address range
memory organization N25Q128 - 1.8 v 72/185 139 - 8b0000 8bffff 138 - 8a0000 8affff 137 - 890000 89ffff 136 - 880000 88ffff 135 - 870000 87ffff 134 - 860000 86ffff 133 - 850000 85ffff 132 - 840000 84ffff 131 - 830000 83ffff 130 - 820000 82ffff 129 - 810000 81ffff 128 - 800000 80ffff 127 - 7f0000 7fffff 126 - 7e0000 7effff 125 - 7d0000 7dffff 124 - 7c0000 7cffff 123 - 7b0000 7bffff 122 - 7a0000 7affff 121 - 790000 79ffff 120 - 780000 78ffff 119 - 770000 77ffff 118 - 760000 76ffff 117 - 750000 75ffff 116 - 740000 74ffff 115 - 730000 73ffff 114 - 720000 72ffff 113 - 710000 71ffff 112 - 700000 70ffff 111 - 6f0000 6fffff 110 - 6e0000 6effff 109 - 6d0000 6dffff 108 - 6c0000 6cffff 107 - 6b0000 6bffff 106 - 6a0000 6affff 105 - 690000 69ffff table 14. memory organization (top) sector subsector address range
N25Q128 - 1.8 v memory organization 73/185 104 - 680000 68ffff 103 - 670000 67ffff 102 - 660000 66ffff 101 - 650000 65ffff 100 - 640000 64ffff 99 - 630000 63ffff 98 - 620000 62ffff 97 - 610000 61ffff 96 - 600000 60ffff 95 - 5f0000 5fffff 94 - 5e0000 5effff 93 - 5d0000 5dffff 92 - 5c0000 5cffff 91 - 5b0000 5bffff 90 - 5a0000 5affff 89 - 590000 59ffff 88 - 580000 58ffff 87 - 570000 57ffff 86 - 560000 56ffff 85 - 550000 55ffff 84 - 540000 54ffff 83 - 530000 53ffff 82 - 520000 52ffff 81 - 510000 51ffff 80 - 500000 50ffff 79 - 4f0000 4fffff 78 - 4e0000 4effff 77 - 4d0000 4dffff 76 - 4c0000 4cffff 75 - 4b0000 4bffff 74 - 4a0000 4affff 73 - 490000 49ffff 72 - 480000 48ffff 71 - 470000 47ffff 70 - 460000 46ffff table 14. memory organization (top) sector subsector address range
memory organization N25Q128 - 1.8 v 74/185 69 - 450000 45ffff 68 - 440000 44ffff 67 - 430000 43ffff 66 - 420000 42ffff 65 - 410000 41ffff 64 - 400000 40ffff 63 - 3f0000 3fffff 62 - 3e0000 3effff 61 - 3d0000 3dffff 60 - 3c0000 3cffff 59 - 3b0000 3bffff 58 - 3a0000 3affff 57 - 390000 39ffff 56 - 380000 38ffff 55 - 370000 37ffff 54 - 360000 36ffff 53 - 350000 35ffff 52 - 340000 34ffff 51 - 330000 33ffff 50 - 320000 32ffff 49 - 310000 31ffff 48 - 300000 30ffff 47 - 2f0000 2fffff 46 - 2e0000 2effff 45 - 2d0000 2dffff 44 - 2c0000 2cffff 43 - 2b0000 2bffff 42 - 2a0000 2affff 41 - 290000 29ffff 40 - 280000 28ffff 39 - 270000 27ffff 38 - 260000 26ffff 37 - 250000 25ffff 36 - 240000 24ffff 35 - 230000 23ffff table 14. memory organization (top) sector subsector address range
N25Q128 - 1.8 v memory organization 75/185 34 - 220000 22ffff 33 - 210000 21ffff 32 - 200000 20ffff 31 - 1f0000 1fffff 30 - 1e0000 1effff 29 - 1d0000 1dffff 28 - 1c0000 1cffff 27 - 1b0000 1bffff 26 - 1a0000 1affff 25 - 190000 19ffff 24 - 180000 18ffff 23 - 170000 17ffff 22 - 160000 16ffff 21 - 150000 15ffff 20 - 140000 14ffff 19 - 130000 13ffff 18 - 120000 12ffff 17 - 110000 11ffff 16 - 100000 10ffff 15 - f0000 fffff 14 - e0000 effff 13 - d0000 dffff 12 - c0000 cffff 11 - b0000 bffff 10 - a0000 affff 9 - 90000 9ffff 8 - 80000 8ffff 7 - 70000 7ffff 6 - 60000 6ffff 5 - 50000 5ffff 4 - 40000 4ffff 3 - 30000 3ffff 2 - 20000 2ffff 1 - 10000 1ffff 0- 0 ffff table 14. memory organization (top) sector subsector address range
instructions N25Q128 - 1.8 v 76/185 9 instructions the device can work in three different protocols: extended spi, dio-spi and qio-spi. each protocol has a dedicated instruction set, and each instruction set features the same functionality: ? read, program and erase the memory and the 64 byte otp area, ? suspend and resume the program or erase operations, ? read and modify all the registers and to read the device id: please note that in this case there is a small functionality difference among the single and the multiple i/o read id instructions. see section 9.2.1: multiple i/o re ad identification protocol and section 9.3.1: multiple i/o re ad identification (miordid) . the application can choose in every time of th e device life which protocol to use by setting the dedicated bits either in the non volatile configuration register or the volatile enhanced configuration register. note: in multiple spi protocols, all instructions, addresses, and data are parallel on two lines (dio- spi protocol) or four lines (qio-spi protocol). all instructions, addresses and data are shifted in and out of the device , most significant bit first. serial data input(s) is (are) sampled on the first rising edge of serial clock (c) after chip select (s ) is driven low. then, the one-byte instru ction code must be shifted in to the device, most significant bit first, on serial da ta input(s), each bit being latched on the rising edges of serial clock (c). instru ction code is shifted into the device just on dq0 in extended spi protocol, on dq0 and dq1 in dio-spi pr otocol and on dq0, dq1, dq2, and dq3 in qio-spi protocol. in standard mode every instruction sequence starts with a one-byte instruction code. depending on the instruction, th is might be followed by address bytes, or by data bytes, or by both or none. in xip modes only read operation and exit xip mode can be performed, and to read the memory content no instructions code are needed: the device directly receives addresses and after a configurable number of dummy clock cycle it outputs the required data. 9.1 extended sp i instructions in extended spi protocol instruction set the inst ruction code is always shifted into the device just on dq0 pin, while depending on the instruction addresses and input/output data can run on single, two or four wires. in the case of a read instructions data by tes (read), read data bytes at higher speed (fast_read), dual output fast read (dofr), dual input/output fast read (diofr), quad output fast read (qofr), quad inpu t/output fast read (qiofr), read otp (rotp), read lock registers (rdlr), read status register (rdsr), read flag status register (rfsr), read nv configuration regi ster (rdnvcr), read vo latile configuration register (rdvcr), read vola tile enhanced configuration register (rdvecr) and read identification (rdid) instruction, the shifted-in instruction sequence is followed by a data-out sequence. chip select (s ) can be driven high after any bit of the data-out sequence is being shifted out.
N25Q128 - 1.8 v instructions 77/185 in the case of a page program (pp), program otp (potp), dual input fast program (difp), dual input extended fast program (diefp), quad input fast program (qifp), quad input extended fast program (qiefp), subsector erase (sse), sector erase (se), bulk erase (be), write status register (wrsr) , clear flag status register (clfsr), write to lock register (wrlr), write configur ation register (wrvcr), write enhanced configuration register (wrvecr), write nv configuration regi ster (wrnvcr), write enable (wren) or write disable (w rdi) instruction, chip select (s ) must be driven high exactly at a byte boundary, otherwise the instru ction is rejected, and is not executed. that is, chip select (s ) must driven high when the number of clock pulses after chip select (s ) being driven low is an exact multiple of eight. all attempts to access the memory array are ignored during: ? write status register cycle ? write non volatile configuration register ? program cycle ? erase cycle the following continue unaffected, with one exception: ? internal write status register cycle, ? write non volatile configuration register, ? program cycle, ? erase cycle the only exception is the prog ram/erase suspend in struction (pes), that can be used to pause all the program and the erase cycles except for: ? program otp (potp), ? bulk erase, ? write non volatile configuration register. the suspended program or erase cycle can be resumed by the program/erase resume instruction (per). during the program/erase cycles, the pollin g instructions (both on the status register and on the flag status register) are also accepted to allow the application to check the end of the internal modify cycles. note: these polling instruct ions don't affect the in ternal cycles performing.
instructions N25Q128 - 1.8 v 78/185 table 15. instruction set: extended spi protocol (page 1 of 2) instruction description one-byte instruction code (bin) one-byte instruction code (hex) address bytes dummy clock cycle data bytes rdid read identification 1001 111x 9eh / 9fh 0 0 1 to 20 read read data bytes 0000 0011 03h 3 0 1 to fast_read read data bytes at higher speed 0000 1011 0bh 3 8 (1) 1 to dofr dual output fast read 0011 1011 3bh 3 8 (1) 1 to diofr dual input/output fast read 1011 1011 bb 3 8 (1) 1 to qofr quad output fast read 0110 1011 6bh 3 8 (1) 1 to qiofr quad input/output fast read 1110 1011 ebh 3 10 (1 1 to rotp read otp (read of otp area) 0100 1011 4bh 3 8 (1) 1 to 65 wren write enable 0000 0110 06h 0 0 0 wrdi write disable 0000 0100 04h 0 0 0 pp page program 0000 0010 02h 3 0 1 to 256 difp dual input fast program 1010 0010 a2h 3 0 1 to 256 diefp dual input extended fast program 1101 0010 d2h 3 0 1 to 256 qifp quad input fast program 0011 0010 32h 3 0 1 to 256 qiefp quad input extended fast program 0001 0010 12h 3 0 1 to 256 potp program otp (program of ot p area) 0100 0010 42h 3 0 1 to 65 sse (2) subsector erase 0010 0000 20h 3 0 0 se sector erase 1101 1000 d8h 3 0 0 be bulk erase 1100 0111 c7h 0 0 0 per program/erase resume 0111 1010 7ah 0 0 0 pes program/erase suspend 0111 0101 75h 0 0 0 rdsr read status register 0000 0101 05h 0 0 1 to wrsr write status register 0000 0001 01h 0 0 1 rdlr read lock register 1110 1000 e8h 3 0 1 to wrlr write to lock register 1110 0101 e5h 3 0 1 rfsr read flag status register 0111 0000 70h 0 0 1 to clfsr clear flag status register 0101 0000 50h 0 0 0 rdnvcr read nv configuration register 1011 0101 b5h 0 0 2 wrnvcr write nv configuration register 1011 0001 b1h 0 0 2 rdvcr read volatile configuration register 1000 0101 85h 0 0 1 to wrvcr write volatile configuration register 1000 0001 81h 0 0 1
N25Q128 - 1.8 v instructions 79/185 1) the number of dummy clock cycles is configurable by user 2) subsector erase instruction is only available in bottom or top parts 9.1.1 read identification (rdid) the read identification (rdid) instruction allo ws to read the device identification data: ? manufacturer identification (1 byte) ? device identification (2 bytes) ? a unique id code (uid) (17 bytes, of which 14 factory programmed upon customer request). the manufacturer identification is assigned by jedec, and has the value 20h. the device identification is assigned by the device manufa cturer, and indicates the memory type in the first byte (bbh), and the memory capacity of the device in the second byte (18h). the uid is composed by 17 read only bytes, containing the length of the following data in the first byte (set to 10h), 2 bytes of extended device id (edid) to identify the specific device configuration (top, bottom or uniform architecture, hold or reset functionality), and 14 bytes of the optional customized factory data (cfd) content. the cfd bytes can be factory programmed with customers data upon their demand. if the customers do not make requests, the devices are shipped with all the cfd bytes programmed to zero (00h). any read identification (rdid) instruction while an erase or program cycle is in progress, is not decoded, and has no effect on the cycle that is in progress. the device is first selected by driving chip select (s ) low. then, the 8-bit instruction code for the instruction is shifted in. after this, th e 24-bit device identification, stored in the memory, the 17 bytes of uid content will be shifte d out on serial data output (dq1). each bit is shifted out du ring the falling edge of serial clock (c). the instruction sequence is shown in figure 10. the read identification (rdid) instruction is terminated by driving chip select (s ) high at any time during data output. when chip select (s ) is driven high, the device is put in the standby powe r mode. once in the standby power mode, the device waits to be selected, so that it can receive, decode and execute instructions. rdvecr read volatile enhanced configuration register 0110 0101 65h 0 0 1 to wrvecr write volatile enhanced configuration register 0110 0001 61h 0 0 1 dp deep power-down 1011 1001 b9h 0 0 0 rdp release from deep power-down 1010 1011 abh 0 0 0 table 15. instruction set: extended spi protocol (page 2 of 2) instruction description one-byte instruction code (bin) one-byte instruction code (hex) address bytes dummy clock cycle data bytes
instructions N25Q128 - 1.8 v 80/185 figure 10. read identification instruction and data-out sequence 9.1.2 read data bytes (read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes (read) instruction is followed by a 3-byte address (a23-a0), each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, is shifted out on serial data output (dq1), each bit being shifted out, at a maximum frequency fr, during the falling edge of serial clock (c). the first byte addressed can be at any locati on. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes (read) instruction. when the highest address is reached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes (read) instruction is terminated by driv ing chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes (read) instruction, while an erase, pr ogram or write cycle is in prog ress, is rejected without having any effects on the cycle that is in progress. table 16. read identification data-out sequence manufacturer identification device identification uid memory type memory capacity edid+cfd length edid cfd 20h bbh 18h 10h 2 bytes 14 bytes table 17. extended device id table (first byte) bit 7 bit 6 bit 5 bit 4 bit 3 bit 2 bit 1 bit 0 reserved reserved reserved vcr xip bit setting: 0 = required, 1 = not required hold/reset function: 0 = hold, 1 = reset addressing: 0 = by byte, architecture: 00 = uniform, 01 = bottom, 11 = top c dq0 s 2 13 456789101112131415 instruction 0 ai06809d dq1 manufacturer identification high impedance msb device identification msb 15 14 13 3 2 1 0 16 17 18 28 29 30 31 msb uid
N25Q128 - 1.8 v instructions 81/185 figure 11. read data bytes instruction and data-out sequence 9.1.3 read data bytes at higher speed (fast_read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes at higher speed (fast_read) instru ction is followed by a 3-byte address (a23- a0) and a dummy byte, each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, are shifted out on serial data output (dq1) at a maximum frequency fc, during the falling edge of serial clock (c). the first byte addressed can be at any locati on. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes at higher speed (fast_read) instruction. when the highest address is re ached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes at higher speed (fast_ read) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes at higher speed (fast_read) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. c dq0 ai13736b s dq1 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 7 0 high impedance data out 1 instruction 24-bit address (1) 0 msb msb 2 39 data out 2
instructions N25Q128 - 1.8 v 82/185 figure 12. read data bytes at higher speed instruction and data-out sequence 9.1.4 dual output fast read (dofr) the dual output fast read (dofr) instruction is very similar to th e read data bytes at higher speed (fast_read) instruction, except that the data are shifted out on two pins (pin dq0 and pin dq1) instead of only one. ou tputting the data on two pins instead of one doubles the data transfer bandwidth compared to the read data bytes at higher speed (fast_read) instruction. the device is first selected by driving chip select (s ) low. the instruction code for the dual output fast read instruction is followed by a 3-byte address (a23-a0) and a dummy byte, each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, are shifted out on dq0 and dq1 at a maximum frequency fc, during the falling edge of serial clock (c). the first byte addressed can be at any locati on. the address is automatically incremented to the next higher address after each byte of data is shifted out on dq0 and dq1. the whole memory can, therefore, be read with a single dual output fast read (dofr) instruction. when the highest address is reached, the addres s counter rolls over to 00 0000h, so that the read sequence can be continued indefinitely. c dq0 read_dat a_byt es_fast _speed s dq1 23 2 1 345678910 28293031 2221 3210 high impedance instruction 24-bit address 0 c dq0 s dq1 32 33 34 36 37 38 39 40 41 42 43 44 45 46 765432 0 1 data out 1 dummy cycles msb 7 6543210 data out 2 msb msb 7 47 765432 0 1 35
N25Q128 - 1.8 v instructions 83/185 figure 13. dual output fast read instruction sequence 9.1.5 dual i/o fast read the dual i/o fast read (diofr) instruction is very similar to the dual output fast read (dofr), except that the address bits are shif ted in on two pins (pin dq0 and pin dq1) instead of only one. 2 1 3 4 5 6 7 8 9 10 28 29 30 31 0 23 22 21 3 2 1 0 mode 3 mode 2 c dq0 s dq1 high impedance instruction 24-bit address c dq0 s dq1 32 33 34 36 37 38 39 40 41 42 43 44 45 46 753175 1 3 data out 1 dummy cycles msb 7 531 7531 msb msb 47 6420 64 0 2 35 642064 0 2 msb msb data out 2 data out 3 data out n dual_out put _dat a_fast _read
instructions N25Q128 - 1.8 v 84/185 figure 14. dual i/o fast read instruction sequence 9.1.6 quad output fast read the quad output fast read (qofr) instruction is very similar to the dual output fast read (dofr) instruction, except that the data are shifted out on four pins (pin dq0, pin dq1, pin w /vpp/dq2 and pin hold /dq3 (1) instead of only two. outputting the data on four pins instead of one doubles the data transfer bandwidth compared to the dual output fast read (dofr) instruction. the device is first selected by driving chip select (s ) low. the instruction code for the quad output fast read instruction is followed by a 3-byte address (a23-a0) and a dummy byte, each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, are shif ted out on pin dq0, pin dq1, pin w /vpp/dq2 and pin hold /dq3 (1) at a maximum freq uency fc, during the falling edge of serial clock (c). the instruction sequence is shown in figure 15. the first byte addressed can be at any locati on. the address is automatically incremented to the next higher address after each byte of data is shifted out on pin dq0, pin dq1, pin w /vpp/dq2 and pin hold /dq3 (1). the whole memory c an, therefore, be read with a single quad output fast read (qofr) instruction. when the highest address is reached, the addres s counter rolls over to 00 0000h, so that the read sequence can be continued indefinitely. 2 1 345678910 11 12 13 14 0 6420 mode 3 mode 0 c d q0 s dq1 instruction c d q0 s d q1 23 24 25 27 28 29 30 31 32 33 34 35 36 37 io switches from input to output 38 26 dual_io_fast _rea d 753175 1 3 7 531 6420 7531 64 0 2 642064 0 2 15 16 17 18 19 20 7531 7531 7531 6420 6420 address dummy cycles 39 7 6 byte 1 byte 3 byte 2 byte 4
N25Q128 - 1.8 v instructions 85/185 note: reset functionality is available instead of hold in devices with a dedicated part number. see section 16: ordering information . figure 15. quad input/output fast read instruction sequence 9.1.7 quad i/o fast read the quad i/o fast read (qiofr) instruction is very similar to the quad output fast read (qofr), except that the address bits are shifted in on four pins (pin dq0, pin dq1, pin w /vpp/dq2 and pin hold /dq3 (1)) instead of only one. note: reset functionality is available instead of hold in devices with a dedicated part number. see section 16: ordering information . 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 s instruction quad_out put _fast _read 15 16 24 21 22 23 45 0123 40 0 4 4 26 25 27 byte 1 51 1 5 5 73 3 7 7 6 22 6 6 byte 2 dummy (ex.: 10) a23-16 a15-8 a7-0 io switches from input to output dq1 don?t care dq2 don?t care dq3 ?1? 67 address
instructions N25Q128 - 1.8 v 86/185 figure 16. quad input/ output fast read instruction sequence 9.1.8 read otp (rotp) the device is first selected by driving chip select (s ) low. the instruction code for the read otp (rotp) instruction is followed by a 3-byte address (a23- a0) and a dummy byte. each bit is latched in on the rising edge of serial clock (c). then the memory contents at that address are shifted out on serial data output (dq1). each bit is shifted out at the maximum frequenc y, fcmax, on the falling edge of serial clock (c). the instruction sequence is shown in figure 17. the address is automatically incremented to the next higher address after each byte of data is shifted out. there is no rollover mechanism with the read ot p (rotp) instruction. this means that the read otp (rotp) instruction mu st be sent with a maximum of 65 bytes to read. all other bytes outside the otp area are ?don?t care.? the read otp (rotp) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read otp (rotp) instruction issued while an erase, program or write cycle is in progress, is rejected without having any effect on the cycle that is in progress. 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 s instruction quad_io_fast _read 15 16 24 21 22 23 40 4040 40 0 4 4 26 25 27 51 5151 d q1 don?t care byte 1 51 1 5 5 73 3 7 7 73 7373 6 22 6 6 62 6262 d q2 don?t care byte 2 dummy (ex.: 10) a23-16 a15-8 a7-0 d q3 ?1? io switches from input to output
N25Q128 - 1.8 v instructions 87/185 figure 17. read otp instruction and data-out sequence 9.1.9 write enable (wren) the write enable (wren) instruction (figure 8) sets the write enable latch (wel) bit. the write enable latch (wel) bit must be set prior to every program, erase or write instructions: page program (pp), dual input fast program (difp), dual input extended fast program (diefp), quad input fast program (qifp), quad input extended fast program (qiefp), program otp (potp), write to lock regist er (wrlr), subsector erase (sse), sector erase (se), bulk erase (be), write status register (wrsr), write configuration register (wrcr), write enhanced configuration regi ster (wrecr) and write nv configuration register (wrnvcr) instruction. the write enable (wren) instruction is entered by driving chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. when the fast por feature is selected (non vo latile configuration register bit 5) after the first write enable instruction, the device ente rs in a latency time (~ 500 us), necessary to internally complete the por sequence with the mo dify algorithms. (see section 11.1: fast por .) during the por latency time all the instructions are ignored with the exception of the c d q0 re a d _ ot p s d q1 23 2 1 345678910 28293031 22 21 3 2 1 0 high impedance instruction 24-bit address 0 c d q0 s dq1 32 33 34 36 37 38 39 40 41 42 43 44 45 46 765432 0 1 data out 1 dummy cycles msb 7 6543210 data out n msb msb 7 47 765432 0 1 35
instructions N25Q128 - 1.8 v 88/185 polling instructions (to ch eck if the internal cycle is finish ed by mean of the wip bit of the status register or of the program/erase controller bit of the flag status re gister): to verify if the por sequence is completed is possible to check the wip bit in the status register or the program/erase controller bit in the flag status register, please note that the program/erase controller bit in the flag status register has the revers e logical polarity with respect to the status register wip bit. at the end of the por sequence the wel bit is low, so the next modify instruction can be accepted. figure 18. write enable instruction sequence 9.1.10 write disable (wrdi) the write disable (wrdi) instruction (figure 9) resets the write enable latch (wel) bit. the write disable (wrdi) instruction is entered by driving chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. c dq0 ai13731 s dq1 2 1 34567 high impedance 0 instruction
N25Q128 - 1.8 v instructions 89/185 the write enable latch (wel) bit is reset under the fo llowing conditions: ? power-up ? write disable (wrdi) instruction completion ? write status register (wrs r) instruction completion ? write lo lock register (w rlr) instruct ion completion ? write non volatile configuration regi ster (wrnvcr) instruction completion ? write volatile configuration regist er (wrvcr) instruction completion ? write volatile enhanced configuration re gister (wrvecr) instruction completion ? page program (pp) instruction completion ? dual input fast program (d ifp) instruction completion ? dual input extended fast progra m (diefp) instruction completion ? quad input fast program (qif p) instruction completion ? quad input extended fast progra m (qiefp) instruction completion ? program otp (potp) instruction completion ? subsector erase (sse) instruction completion ? sector erase (se) instruction completion ? bulk erase (be) in struction completion figure 19. write disable instruction sequence 9.1.11 page program (pp) the page program (pp) instruction allows bytes to be programmed in the memory (changing bits from 1 to 0). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page program (pp) in struction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (dq0). if the 8 least significant address bits (a7- a0) are not all zero, all transmitted data that goes beyond the end of the current page ar e programmed from the start address of the c dq0 ai13732 s dq1 2 1 34567 high impedance 0 instruction
instructions N25Q128 - 1.8 v 90/185 same page (from the address whose 8 least significant bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be prog rammed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes of the same page. for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes. see table 33.: ac characteristics . chip select (s ) must be driven high after the eighth bi t of the last data byte has been latched in, otherwise the page program (pp) instruction is not executed. as soon as chip select (s ) is driven high, the self-tim ed page program cycle (whose duration is top) is initiated. while the page prog ram cycle is in progress, the status register and the flag status register may be read to chec k if the internal modify cycle is finished. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a page program (pp) instruction applied to a pa ge which is protected by the block protect (bp3,bp2, bp1, bp0 and tb) bits is not executed. page program cycle can be paused by mean of program/erase sus pend (pes) instruction and resumed by mean of program/erase resume (per) instruction.
N25Q128 - 1.8 v instructions 91/185 figure 20. page program instruction sequence 9.1.12 dual input fast program (difp) the dual input fast program (difp) instruction is very similar to the page program (pp) instruction, except that the data are entered on two pins (pin dq0 and pin dq1) instead of only one. inputting the data on two pins instead of one doubles the data transfer bandwidth compared to the page program (pp) instruction. the dual input fast program (difp) instruction is enter ed by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (dq0). if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data that goes beyond the end of the current page are programmed from the start address of the same page (from the address whose 8 least significant bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be prog rammed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes in the same page. for optimized timings, it is recommended to use the dual input fast program (difp) instruction to program all consecutive targeted bytes in a single sequence rather to using c dq0 ai13739b s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c dq0 s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address (1) 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte 256 2079 2078 2077 2076 2075 2074 2073 765432 0 1 2072 msb msb msb msb msb
instructions N25Q128 - 1.8 v 92/185 several dual input fast program (difp) sequences each containing only a few bytes. see table 33.: ac characteristics . chip select (s ) must be driven high after the eighth bi t of the last data byte has been latched in, otherwise the dual input fast pr ogram (difp) instruction is not executed. as soon as chip select (s ) is driven high, the self-tim ed page program cycle (whose duration is top) is init iated. while the du al input fast program (difp) cycle is in progress, the status register and the flag status register may be read to check if the internal modify cycle is finished. at some unspecified time be fore the cycle is completed, the write enable latch (wel) bit is reset. a dual input fast program (difp) instruction applied to a page that is protected by the block protect (bp3, bp 2, bp1, bp0 and tb) bits is not executed. dual input fast program cycle can be paused by mean of program/erase suspend (pes) instruction and resumed by mean of program/erase resume (per) instruction. figure 21. dual input fast program instruction sequence ai14229 c dq0 s 23 2 1 345678910 28293031 22 21 3 2 1 0 instruction 24-bit address 0 c dq0 s 34 33 35 36 37 38 39 40 41 42 44 45 46 47 32 43 642064 0 2 642064 0 2 6420 msb msb msb dq1 high impedance 64 2 0 dq1 7531 1 75 3 75 3 7 5 msb 31 1 msb 7531 75 3 1 msb data in 1 data in 4 data in 5 data in 256 data in 3 data in 2
N25Q128 - 1.8 v instructions 93/185 9.1.13 dual input extended fast program the dual input extended fast program (diefp) in struction is very similar to the dual input fast program (difp), except that the address bi ts are shifted in on two pins (pin dq0 and pin dq1) instead of only one. figure 22. dual input extended fast program instruction sequence 9.1.14 quad i nput fast program the quad input fast program (qif p) instruction is very sim ilar to the dual input fast program (difp) instruction, except that the data are entered on four pins (pin dq0, pin dq1, pin w /vpp/dq2 and pin hold/ ( dq3) instead of only two. inputting the data on four pins instead of two doubles the data transfer bandwidth compared to the dual input fast program (difp) instruction. the quad input fast program (qifp) instruction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (dq0). if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data that goes beyond the end of the current page are programmed from the start address of the same page (from the address whose 8 least significant bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. 2 1 345678910 11 12 13 14 0 6420 mode 3 mode 0 c dq0 s dq1 instruction c dq0 s dq1 18 19 20 22 23 24 25 26 27 28 29 30 31 32 33 21 dual_input_extended_fast_program 7531 75 1 3 7 531 6420 642064 0 2 15 16 17 18 19 20 7531 7531 7531 6420 6420 address dummy cycles 34 msb 35 6420 7531 msb msb msb data in 4 data in 1 data in 3 data in 2 64 0 2 7531 msb data in 256
instructions N25Q128 - 1.8 v 94/185 if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be prog rammed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes in the same page. for optimized timings, it is recommended to use the quad input fast program (qifp) instruction to program all consecutive targeted bytes in a single sequence rather to using several quad input fast program (qifp) sequences each containing only a few bytes see table 33.: ac characteristics . chip select (s ) must be driven high after the eighth bi t of the last data byte has been latched in, otherwise the quad input fast pr ogram (qifp) instruction is not executed. as soon as chip select (s ) is driven high, the self-tim ed page program cycle (whose duration is tpp) is initiated. wh ile the quad input fast program (qifp) cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-t imed page program cycle, and 0 when it is completed. at some unspecified time before th e cycle is completed, the write enable latch (wel) bit is reset. a quad input fast program (qifp) instruction applied to a page that is protected by the block protect (bp3, bp 2, bp1, bp0 and tb) bits is not executed. a quad input fast program cycle can be paused by mean of program/erase suspend (pes) instruction and resumed by mean of program/erase resume (per) instruction. figure 23. quad input fast program instruction sequence 9.1.15 quad input ex tended fast program the quad input extended fast program (qiefp) instruction is very similar to the quad input extended fast program (qifp) , except that the address bits are shifted in on four pins (pin dq0, pin dq1, pin w /vpp/dq2 and pin hold /dq3) instead of only one. d q0 s d q1 quad_input _fast _program 23 22 21 51 5151 instruction don?t care msb 51 1 5 73 3 7 d q3 73 62 2 6 d q2 62 6262 don?t care ?1? data in 2 1 345678910 0 37 34 35 36 28 29 30 31 32 33 39 38 40 c 42 41 43 32 1 04 0 4 0 4 0 44 0 04 0 51 62 msb msb msb msb msb 73 7373 don?t care 24-bit address data in data in 2 13 456
N25Q128 - 1.8 v instructions 95/185 figure 24. quad input extended fast program instruction sequence 9.1.16 program otp instruction (potp) the program otp instruction (potp) is used to program at most 64 bytes to the otp memory area (by changing bits from 1 to 0, only). before it can be accepted, a write enable (wren) instruction must previously have be en executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel) bit. the program otp instruction is en tered by driving chip select (s ) low, followed by the instruction opcode, three address bytes and at least one data byte on serial data input (dq0). chip select (s ) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the program ot p instruction is not executed. there is no rollover mechanism with the progra m otp (potp) instruction. this means that the program otp (potp) instruction must be sent with a maximum of 65 bytes to program, once all 65 bytes have been latched in, any following byte will be discarded. as soon as chip select (s ) is driven high, the self-tim ed page program cycle (whose duration is tpp) is initiated. while the program otp cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. th e write in progress (wip) bit is 1 during the self-timed program otp cycle, and it is 0 when it is completed. at some unspecified time before the cycle is co mplete, the write enable latch (wel) bit is reset. to lock the otp memory: bit 0 of the otp control byte, that is byte 64, is used to permanently lock the otp memory array. ? when bit 0 of byte 64 = '1', the 64 bytes of the otp memory array can be programmed. ? when bit 0 of byte 64 = '0', the 64 bytes of the otp memory array are read-only and cannot be programmed anymore. d q0 s d q1 quad_input _ext ended_fast _program instruction don?t care msb d q3 d q2 don?t care ?1? data in 2 1 345678910 0 c 20 17 18 19 11 12 13 14 15 16 22 21 23 25 24 26 msb msb msb msb msb 24-bit address data in data in 2 134 5 6 27 20 16 12 8 04 40 4 0 4 0 4 0 44 0 04 0 26 62 6 2 6 2 6 2 66 2 26 2 15 51 5 1 5 1 5 1 55 1 15 1 21 17 13 9 22 18 14 10 23 19 15 37 73 7 3 7 3 7 3 77 3 37 3 11 7 msb
instructions N25Q128 - 1.8 v 96/185 once a bit of the otp memory has been programmed to '0', it can no longer be set to '1'. therefore, as soon as bit 0 of byte 64 (contro l byte) is set to '0', the 64 bytes of the otp memory array become read-only in a permanent way. any program otp (potp) instruct ion issued while an erase, pr ogram or write cycle is in progress is rejected withou t having any effect on the cycle that is in progress. figure 25. program otp instruction sequence c dq0 ai13575 s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c dq0 s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte n 765432 0 1 msb msb msb msb msb
N25Q128 - 1.8 v instructions 97/185 figure 26. how to permanently lock the otp bytes 9.1.17 subsector erase (sse) for devices with bottom or top architecture, at the bottom (or top) of the addressable area there are 8 boot sectors, each one having 16 4kbytes subsectors. the subsector erase (sse) instruction sets to '1' (ffh) all bits inside the chosen subsector. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the subsector erase (sse) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address by tes on serial data input (dq0). any address inside the subsector is a valid address for the subsector erase (sse) instruction. chip select (s ) must be driven low for the entire duration of the sequence. chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the subsector erase (sse) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed subs ector erase cycle (whose duration is tsse) is initiated. while the su bsector erase cyc le is in progress, the status register may be read to check the value of the write in pr ogress (wip) bit. the wr ite in progress (wip) bit is 1 during the self-timed subsector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a subsector erase (sse) instruction issued to a sector that is hardware or software protected, is not executed. any subsector erase (sse ) instruction, wh ile an erase, program or write cycle is in progress, is rejected without having any ef fects on the cycle that is in progress. any subsector erase (sse) instruction in de vices with uniform architecture (meaning no boot sectors with subsectors) is rejected without having any effects on the device. byte 0 byte 1 byte 2 byte 64 byte 63 x x x x x x x bit 0 otp control byte 64 data bytes bit 1 to bit 7 are not programmable when bit 0 = 0 the 64 otp bytes become read only ai13587
instructions N25Q128 - 1.8 v 98/185 figure 27. subsector erase instruction sequence 9.1.18 sector erase (se) the sector erase (se) in struction sets to '1' (ffh) all bits inside the chosen sector. before it can be accepted, a write enable (wren) inst ruction must previously have been executed. after the write enable (wren) instruction ha s been decoded, the device sets the write enable latch (wel). the sector erase (se) instruction is entered by drivin g chip select (s ) low, followed by the instruction code, and three address bytes on se rial data input (dq0). any address inside the sector is a valid addre ss for the sector erase (se) instruction. chip select (s ) must be driven low for the entire duration of the sequence. chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the sector erase (se) inst ruction is not executed. as soon as chip select (s ) is driven high, the self-timed sector er ase cycle (whose duration is tse) is initiated. while the sector erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed sector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. a sector erase (se) instructio n applied to a page which is protected by the block protect (bp3, bp2, bp1, bp0 and tb) bits is not executed. a sector erase cycle can be pa used by mean of program/er ase suspend (pes) instruction and resumed by mean of program/erase resume (per) instruction. 24 bit address c dq0 su b se c t o r _ er a se s 2 1 3456789 293031 instruction 0 23 22 20 1 msb
N25Q128 - 1.8 v instructions 99/185 figure 28. sector erase instruction sequence 9.1.19 bulk erase (be) the bulk erase (be) instruction sets all bits to '1' (ffh). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the bulk erase (be) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (dq0). chip select (s ) must be driven low for the entire duration of the sequence. chip select (s ) must be driven high after the eighth bi t of the instruction code has been latched in, otherwise the bulk erase instructio n is not executed. as soon as chip select (s ) is driven high, the self -timed bulk erase cycle (whose duration is tbe) is initiated. while the bulk erase cycle is in progress, the status re gister may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed bulk erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. the bulk erase (be) instruction is executed only if all block protect (bp3, bp2, bp1, bp0) bits are 0. the bulk erase (be) instruction is ignored if one, or more, sectors are protected. figure 29. bulk erase instruction sequence 24 bit address c dq0 se c t o r _ er a se s 2 1 3456789 293031 instruction 0 23 22 2 0 1 msb c dq0 ai13743 s 2 1 34567 0 instruction
instructions N25Q128 - 1.8 v 100/185 9.1.20 program/erase suspend the program/erase suspend instruction allows the controller to interrupt a program or an erase instruction, in particular: sector eras e, subsector erase, page program, dual input page program, dual input extended page program, quad input page program and quad input extended page program can be suspended and erased. note: bulk erase, write non volatile configuration register and program otp cannot be suspended. after a program/erase suspend instruction t he bit 2 of the flag status register is immediately set to 1 and, after a latency time, both the wip bit of the status register and the program/erase controller bit (not wip) of th e flag status register are cleared (to 0 and to 1 respectively). the suspended state is reset if a power-off is performed or after resume. after a sector erase instruction has been suspended, another erase instruction is not allowed; however, it is possible to perfo rm program and reading instructions on all the sectors except the one whose erase cycle is su spended. any read instruction issued on this sector outputs don't care data. after a subsector erase instruction has been su spended, neither an erase instruction or a program instruction is allowed; only a read instruction is allowed on all sectors except the one containing the subsector whose erase cycl e is suspended. any read instruction issued on this sector outputs don't care data. after a program instruction has been suspended, neither a program instruction or an erase instructions is allowed; however, it is possi ble to perform a read instruction on all pages except the one whose program cycle is suspended. any read instruction issued on this page outputs don't care data. it's possible to nest a suspend instruction inside another suspended one just once, meaning that it's possible for example to send to the device an erase instruction, then suspend it, then send a program instruction and in the end suspend it as well. in this case the next program/erase resume instruct ion resumes the more recent suspended modify cycles, another program/erase resume instruction is need to resume also the former one. table 18. suspend parameters parameter condition typ max unit note erase to suspend sector erase or erase resume to erase suspend 40 s timing not internally controlled program to suspend program resume to program suspend 5 s timing not internally controlled sserase to suspend sub sector erase or sub sector erase resume to erase suspend 40 s timing not internally controlled suspend latency program 7 s any read instruction accepted sub sector erase 15 s any read instruction accepted erase 15 s any instruction accepted but dp, se, sse, be, wrsr, wrnvcr, potp
N25Q128 - 1.8 v instructions 101/185 note: the device can be in only one state at a time, such as standby, program, erase, and so on. device states are shown in table 19.: operations allowe d / disallowed during device states . 9.1.21 program/erase resume after a program/erase suspend instruction, a program/erase resume instruction is required to continue performing the suspended program or erase sequence. program/erase resume instruction is ignored if the device is not in a program/erase suspended status. the wip bit of the status register and program/erase controller bit (not wip) of the flag status register both switch to the busy state (1 and 0 respectively) after program/erase resume instruction until the program or erase sequence is completed. in this case the next program/erase resume instruction resumes the more recent suspended modify cycles, another program/eras e resume instruction is need to resume also the former one. table 19. operations allowed / disallowed during device states operation device states and sector (same/other) in wh ich operation is allowed/disallowed (yes/no) standby state program state erase state (se/sse) subsector erase suspended state program suspended state erase suspended state sector sector sector sector sector sector same other same other same other same other same other same other all reads except rdsr / rdfsr yes yes no no no no yes (1) yes yes yes yes (1) yes array program: pp / difp / qwifp / diefp / qiefp yes yes no no no no no no no no no yes sector eraseyesyesno no nononononononono sub-sector erase yes yes no no no no no no no no no no wrlr / potp / be / wrsr / wrnvcr yes no no no no no wvcr / wvecr yes no no yes yes yes rdsr / rdfsr yes yes yes yes yes yes program / erase suspend no yes yes no no no 1. the read operation is accepted but the data output is not guaranetted until the program or erase has completed.
instructions N25Q128 - 1.8 v 102/185 9.1.22 read status register (rdsr) the read status register (rdsr) instruction allows the status register to be read. the status register may be read at any time, ev en while a program, erase or write status register cycle is in progress. when one of these cycles is in progress, it is recommended to check the write in progress (wip) bit (or the pr ogram/erase controller bit of the flag status register) before sending a new instruction to the device. it is also possible to read the status register continuously, as shown here. figure 30. read status register instruction sequence 9.1.23 write status register (wrsr) the write status register (wrsr) instruction allows new values to be written to the status register. before it can be accepted, a write ena ble (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded and executed, the device sets the write enable latch (wel). the write status register (wrsr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code and the data byte on serial data input (dq0). the write status register (wrs r) instruction has no effect on b1 and b0 of the status register. chip select (s ) must be driven high after the eighth bi t of the data byte has been latched in. if not, the write status register (wrsr) instruct ion is not executed. as soon as chip select (s ) is driven high, the self-tim ed write status register cycle (whose duration is tow) is initiated. while the write status register cycle is in progress, the status register may still be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed write status register cycl e, and is 0 when it is completed. when the cycle is completed, the write enable latch (wel) is reset. the write status register (wrsr) instruction allows the user to change the values of the block protect (bp3, bp2, bp1, bp0) bits, to define the size of the area that is to be treated as read-only, as defined in table 3. the write st atus register (wrsr) in struction also allows the user to set and reset the status register write disable (srwd) bit in accordance with the write protect (w /vpp) signal. the status register writ e disable (srwd) bit and write protect (w /vpp) signal allow the device to be put in the hardware pr otected mode (h pm). the write c dq0 s 2 1 3456789101112131415 instruction 0 ai13734 dq1 7 6543210 status register out high impedance msb 7 6543210 status register out msb 7
N25Q128 - 1.8 v instructions 103/185 status register (wrsr) instruction is not executed once the hardware protected mode (hpm) is entered. figure 31. write status register instruction sequence the protection features of the device are summarized in table 8. when the status register write disable (srwd) bi t of the status register is 0 (its initial delivery state), it is possible to write to the status register provided that the write enable latch (wel) bit has previously been set by a write enable (wren) in struction, regardless of the whether write protect (w /vpp) is driven high or low. when the status register write disable (srwd) bi t of the status register is set to '1', two cases need to be considered, depending on the state of write protect (w /vpp): ? if write protect (w /vpp) is driven high, it is possible to write to the status register provided that the write enable latch (wel ) bit has previously been set by a write enable (wren) instruction. ? if write protect (w /vpp) is driven low, it is not possi ble to write to th e status register even if the write enable latch (wel) bit ha s previously been set by a write enable (wren) instruction (attempts to write to the status regist er are rejected, and are not accepted for execution). as a consequence, all the data bytes in the memory area that are software protected (spm) by the block protect (bp3, bp2, bp1, bp0) bits of the status register, are also hardware protected against data modification. regardless of the order of the two events, the hardware protected mode (hpm) can be entered in either of the following ways: ? setting the status register write disable (srwd) bit after driving write protect (w /vpp) low ? driving write protect (w /vpp) low after sett ing the status regi ster write disable (srwd) bit. the only way to exit the hardware protected mode (hpm) once entered is to pull write protect (w /vpp) high. if write protect (w /vpp) is permanently tied high, the hardware pr otected mode (hpm) can never be activated, and only the software protected mode (spm), us ing the block protect (bp3, bp2, bp1, bp0) bits of the status register, can be used. c dq0 ai13735 s dq1 2 1 3456789101112131415 high impedance instruction status register in 0 765432 0 1 msb
instructions N25Q128 - 1.8 v 104/185 9.1.24 read lock register (rdlr) the device is first selected by driving chip select (s ) low. the instruction code for the read lock register (rdlr) instruct ion is followed by a 3-byte address (a23-a0) pointing to any location inside the concerned sector. each addres s bit is latched-in during the rising edge of serial clock (c). then the value of the lock register is shifted out on serial data output (dq1), each bit being shifted out, at a ma ximum frequency fc, during the falling edge of serial clock (c). the read lock register (rdlr) instruction is terminated by driving chip select (s ) high at any time during data output. any read lock register (rdlr) instruction, wh ile an erase, program or write cycle is in progress, is rejected without having any ef fects on the cycle that is in progress. figure 32. read lock register instruction and data-out sequence table 20. protection modes w / vpp signal srwd bit mode write protection of the status register memory content protected area (1) unprotected area (1) 10 software protected (spm) status register is writeable, if the wren instruction has set the wel bit. the values in the srwd, tb, bp3, bp2, bp1, and bp0 bits can be changed. protected against pp, difp, diefp, qifp, qiefp, sse, se and be instructions. ready to accept pp, difp, diefp, qifp, qiefp, sse, and se instructions. 00 11 01 hardware protected (hpm) status register is hardware write protected. the values in the srwd, tb, bp3, bp2, bp1 and bp0 bits cannot be changed pp, difp, diefp, qifp, qiefp, sse, se and be instructions. pp, difp, diefp, qifp, qiefp, sse, and se instructions. 1. as defined by the values in the block protect (tb, bp3, bp2, bp1, bp0) bits of the status register, as shown in table 3: status register format . c d q0 ai13738 s dq1 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 0 high impedance lock register out instruction 24-bit address 0 msb msb 2 39
N25Q128 - 1.8 v instructions 105/185 9.1.25 write to lo ck register (wrlr) the write to lock register (wrlr) instruction allows bits to be changed in the lock registers. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the write to lock register (wrlr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code, three address bytes (pointing to any address in the targeted sector and one data byte on serial da ta input (dq0). the instruction sequence is shown in figure 22. chip select (s ) must be driven high after the eighth bit of the data byte has been latched in, otherwise the write to lock register (wrlr) instruction is not executed. lock register bits are volatile, and therefore do not require time to be written. when the write to lock register (wrl r) instruction has been succ essfully executed, the write enable latch (wel) bit is reset after a delay time less than tshsl minimum value. any write to lock register (wrlr) instruction, while an erase, program or write cycle is in progress, is rejected without having any ef fects on the cycle that is in progress. figure 33. write to lock register instruction sequence table 21. lock register out (1) bit bit name value function b7-b2 reserved b1 sector lock down ?1? the write lock and lock down bits cannot be changed. once a ?1? is written to the lock down bit it cannot be cleared to ?0?, except by a power-up. ?0? the write lock and lock down bits can be changed by writing new values to them. b0 sector write lock ?1? write, program and erase operations in this sector will not be executed. the memory contents will not be changed. ?0? write, program and erase operations in this sector are executed and will modify the sector contents. 1. values of (b1, b0) after power-up are defined in section 7: protection modes . ai13740 c dq0 s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 lock register in 39 msb msb
instructions N25Q128 - 1.8 v 106/185 9.1.26 read flag status register the read flag status register (rfsr) instruct ion allows the flag status register to be read. the status register may be read at an y time, even while a program, erase. when one of these cycles is in progress, it is recomme nded to check the p/e controller bit (not wip) bit before sending a new instruction to the device. it is also possible to read the flag register continuously, as shown here. figure 34. read flag status register instruction sequence 9.1.27 clear flag status register the clear flag status register (clfsr) instructio n reset the error flag status register bits (erase error bit, program error bit, vpp error bit, protection error bit). it is not necessary to set the wel bit before the clear flag status register instruction is executed. the wel bit will be unchanged after this command is executed. table 22. lock register in (1) 1. values of (b1, b0) after power-up are defined in section 7: protection modes . sector bit value all sectors b7-b2 ?0? b1 sector lock down bit value (refer to ta ble 21 ) b0 sector write lock bit value (refer to ta ble 21 ) c dq0 s 2 1 3456789101112131415 instruction 0 read_flag_sr dq1 7 6543210 flag status register out high impedance msb 7 6543210 flag status register out msb 7
N25Q128 - 1.8 v instructions 107/185 figure 35. clear flag status register instruction sequence 9.1.28 read nv c onfiguration register the read non volatile configuration register (rdnvcr) instruction allows the non volatile configuration register to be read. figure 36. read nv configurati on register instruction sequence 9.1.29 write nv c onfiguration register the write non volatile configuration register (wrnvcr) instruction allows new values to be written to the non volatile configuration register. before it can be accepted, a write enable (wren) instruct ion must previously have been executed. after the write enable (wren) instruction has been decoded and exec uted, the device sets the write enable latch (wel). the write non volatile configuration register (wrnvcr) instruction is entered by driving chip select (s ) low, followed by the instruction code and the data bytes on serial data input (dq0). chip select (s ) must be driven high after the 16th bit of the data bytes has been latched in. if not, the write non volatile configuration register (wrnvcr) instruction is not executed. c dq0 clear_flag_sr s dq1 2 1 345678 high impedance instruction 0 msb c s dq0 2 1 3456789101112131415 instruction 0 read_nvcr dq1 7 6543210 nvcr out high impedance ls byte 15 14 13 12 11 10 9 8 nvcr out ms byte 16 17 18 19 20 21 22 23
instructions N25Q128 - 1.8 v 108/185 as soon as chip select (s ) is driven high, the self-timed write nv configuration register cycle (whose duration is tnvcr) is initiated. while the write non volat ile configuration register cycle is in progress, it is possible to monitor the end of the process by polling status register write in progress (wip) bit or the flag status register program/erase controlle r bit. the write in progress (wip) bit is 1 during the self-timed write non volatile configur ation register cycle, and is 0 when it is completed. when the cycle is completed, the write enable latch (wel) is reset. the write non volatile configuration register (wrnvcr) instruction allows the user to change the values of all the non volatile configuration register bits, described in table 4.: non-volatile configuration register . the write non volatile configuration register impacts the memory behavior only after the next power on sequence. figure 37. write nv configuratio n register instruction sequence 9.1.30 read volatile configuration register the read volatile configuration register (rdvcr) instruction a llows the volatile configuration register to be read. see table 6.: volatile configuration register . c dq0 write_nvcr s dq1 2 1 3456789101112131415 high impedance instruction nvcr in 0 765432 0 1 ls byte 15 14 13 12 16 17 18 19 20 byte byte ms byte 11 10 9 8 21 22 23 24
N25Q128 - 1.8 v instructions 109/185 figure 38. read volatile configuration register instruction sequence 9.1.31 write volatile configuration register the write volatile configuration register (w rvcr) instruction allows new values to be written to the volatile config uration register. before it can be accepted, a write enable (wren) instruction must have been executed . after the write enable (wren) instruction has been decoded and executed, the device sets the write enable latch (wel). in case of fast por (see section 11.1 for further details) the wren instruction is not required because a wren instruction gets the device out from the fast por state. the write volatile configuration register (wrv cr) instruction is entered by driving chip select (s ) low, followed by the instruction code and the data byte on serial data input (dq0). chip select (s ) must be driven high after the eighth bit of the data byte has been latched in. if not, the write volatile c onfiguration register (wrvcr) instruction is not executed. when the new data are latched, the write enable latch (wel) is reset. the write volatile configuratio n register (wrvcr) instruction allows the user to change the values of all the volatile configuration register bits, described in table 6.: volatile configuration register . the write volatile configuration register impacts the memory behavior right after the instruction is receiv ed by the device. c dq0 s 2 1 3456789101112131415 instruction 0 read_vcr dq1 7 6543210 volatile conguration register out high impedance msb 7 6543210 msb 7 volatile conguration register out
instructions N25Q128 - 1.8 v 110/185 figure 39. write volatile configuration register instruction sequence 9.1.32 read volatile enha nced configuration register the read volatile enhanced configuration register (rdvecr) in struction allows the volatile configuration register to be read. figure 40. read volatile enhanced configuration register instruction sequence 9.1.33 write volatile enha nced configuration register the write volatile enhanced configuration r egister (wrvecr) instruction allows new values to be written to the volatile enhanced configuration register. before it can be accepted, a write enable (wren) instruction must previously ha ve been executed. after the write enable (wren) instructio n has been decoded and executed, the device sets the write enable latch (wel). in case of fast por, the wren instru ction is not required because a wren instruction gets the device out from the fast por state (see section 11.1: fast por ). c dq0 write_vcr s dq1 2 1 3456789101112131415 high impedance instruction volatile conguration register in 0 765432 0 1 msb c dq0 s 2 1 3456789101112131415 instruction 0 read_vecr dq1 7 6543210 volatile enhanced conguration register out high impedance msb 7 6543210 msb 7 volatile enhanced conguration register out
N25Q128 - 1.8 v instructions 111/185 the write volatile enhanced configuration regi ster (wrvecr) instru ction is entered by driving chip select (s ) low, followed by the instruction code and the data byte on serial data input (dq0). chip select (s ) must be driven high after the eighth bit of the data byte has been latched in. if not, the write volatile enhanced configur ation register (wrvecr) instruction is not executed. when the new data are latched, the write enable latch (wel) is reset. the write volatile enhanced configuration regist er (wrvecr) instruction allows the user to change the values of all the volatile enhanc ed configuration register bits, described in table 7.: volatile enhanced configuration register . the write volatile enhanced configuration regi ster impacts the memory behavior right after the instruction is rece ived by the device. figure 41. write volatile enhanced configuration register instruction sequence 9.1.34 deep power-down (dp) executing the deep power-down (dp) instruction is the only way to put the device in the lowest consumption mode (the deep power-down mode). it can also be used as a software protection mechanism, while the device is not in active use, as in this mode, the device ignores all write, program and erase instructions. driving chip select (s ) high deselects the device, and puts the device in the standby power mode (if there is no internal cycle currently in progress). but this mode is not the deep power-down mode. the deep power-down mode can only be entered by executing the deep power-down (dp) instruction, subseque ntly reducing the standby current (from i cc1 to i cc2 , as specified in table 32 ). to take the device out of deep power-down mode, the release from deep power-down (rdp) instruction must be issued . no other instruction must be is sued while the device is in deep power- down mode. c dq0 write_vecr s dq1 2 1 3456789101112131415 high impedance instruction vecr in 0 765432 0 1 msb
instructions N25Q128 - 1.8 v 112/185 the deep power-down mode automatically st ops at power-down, and the device always powers up in the standby power mode. the deep power-down (dp) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (dq0). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 42 . chip select (s ) must be driven high after the eighth bi t of the instruction code has been latched in, otherwise the deep power-down (dp) instruction is not ex ecuted. as soon as chip select (s ) is driven high, it requires a delay of t dp before the supply current is reduced to i cc2 and the deep power-down mode is entered. any deep power-down (d p) instruction, while an erase, program or write cycle is in progress, is rejected without having any ef fects on the cycle that is in progress. figure 42. deep power-down instruction sequence 9.1.35 release from deep power-down (rdp) once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp ) instruction. execut ing this instruction takes the device out of the deep power-down mode. the release from deep power-down (rdp) instruct ion is entered by driving chip select (s ) low, followed by the instruction code on serial data input (dq0). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 43 . the release from deep power-down (rdp) instru ction is terminated by driving chip select (s ) high. sending additional clock cycles on serial clock (c), while chip select (s ) is driven low, cause the instruction to be rejected, and not executed. after chip select (s ) has been driven high, followed by a delay, t rdp , the device is put in the standby mode. chip select (s ) must remain high at least until this period is over. the device waits to be selected, so that it can receive, decode and execute instructions. any release from deep power-do wn (rdp) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. c dq0 ai13744 s 2 1 34567 0 t dp deep power-down mode standby mode instruction
N25Q128 - 1.8 v instructions 113/185 figure 43. release from deep power-down instruction sequence 9.2 dio-spi instructions in dio-spi protocol, instructions, addresses and input/output data alwa ys run in parallel on two wires: dq0 and dq1. in the case of a dual command fast read (dcfr), read otp (rotp), read lock registers (rdlr), read status register (rdsr) , read flag status register (rfsr), read nv configuration register (r dnvcr), read volatile config uration register (rdvcr), read volatile enhanced configuration register (rdvecr) and read identification (rdid) instruction, the shifted-in in struction sequence is followed by a data-out sequence. chip select (s ) can be driven high after any bit of the data-out sequence is being shifted out. in the case of a dual command page program (dcpp), program otp (potp), subsector erase (sse), sector erase (se), bulk erase (be), program/erase suspend (pes), program/erase resume (per), write status register (wrsr), clear flag status register (clfsr), write to lock register (wrlr), wr ite configuration register (wrvcr), write enhanced configuration register (wrvecr) , write nv configuration register (wrnvcr), write enable (wren) or write dis able (wrdi) instructio n, chip select (s ) must be driven high exactly at a byte boundary, otherwise the instruction is rejected, and is not executed. all attempts to access the memory array during a write status register cycle, a write non volatile configuration register, a program cycle or an erase cycle are ignored, and the internal write status register cycle, write non volatile configuration register, program cycle or erase cycle continues unaffected, the only exception is the program/erase suspend instruction (pes), that can be used to pause all t he program and the erase cycles but the program otp (pot),, bulk erase ( be) and write non volatile configuration register. the suspended program or erase cycle can be resumed by mean of the program/erase resume instruction (per). duri ng the program/erase cycles also the polling instructions (to check if the internal modify c ycle is finished by mean of the wip bit of the status register or of the program/erase contro ller bit of the flag status register) are also accepted to allow the application checking the end of the internal modify cycles, of course these polling instructions don't affe ct the internal cycles performing. c dq0 ai13745 s 2 1 34567 0 t rdp standby mode deep power-down mode dq1 high impedance instruction
instructions N25Q128 - 1.8 v 114/185 table 23. instruction set: dio-spi protocol instruction description one-byte instruction code (bin) one-byte instruction code (hex) address bytes dummy clock cycle data bytes miordid multiple i/o read identification 1010 1111 afh 0 0 1 to 3 dcfr dual command fast read 0000 1011 0bh 3 8 (1) 1 to 0011 1011 3bh 3 8 (1) 1 to 1011 1011 bbh 3 8 (1) 1 to rotp read otp 0100 1011 4bh 3 8 (1) 1 to 65 wren write enable 0000 0110 06h 0 0 0 wrdi write disable 0000 0100 04h 0 0 0 dcpp dual command page program 0000 0010 02h 3 0 1 to 256 1010 0010 a2h 3 0 1 to 256 1101 0010 d2h 3 0 1 to 256 potp program otp 0100 0010 42h 3 0 1 to 65 sse (2) subsector erase 0010 0000 20h 3 0 0 se sector erase 1101 1000 d8h 3 0 0 be bulk erase 1100 0111 c7h 0 0 0 per program/erase resume 0111 1010 7ah 0 0 0 pes program/erase suspend 0111 0101 75h 0 0 0 rdsr read status register 0000 0101 05h 0 0 1 to wrsr write status register 0000 0001 01h 0 0 1 rdlr read lock register 1110 1000 e8h 3 0 1 to wrlr write to lock register 1110 0101 e5h 3 0 1 rfsr read flag status register 0111 0000 70h 0 0 1 to clfsr clear flag status register 0101 0000 50h 0 0 0 rdnvcr read nv configuration register 1011 0101 b5h 0 0 2 wrnvcr write nv configuration register 1011 0001 b1h 0 0 2 rdvcr read volatile configuration register 1000 0101 85h 0 0 1 to wrvcr write volatile configuration register 1000 0001 81h 0 0 1 rdvecr read volatile enhanced configuration register 0110 0101 65h 0 0 1 to wrvecr write volatile enhanced configuration register 0110 0001 61h 0 0 1 dp deep power-down 1011 1001 b9h 0 0 0 rdp release from deep power-down 1010 1011 abh 0 0 0
N25Q128 - 1.8 v instructions 115/185 1) the number of dummy clock cycles is configurable by the user 2) sse is only available in devices with bottom or top architecture. 9.2.1 multiple i/o read identification protocol the multiple input/output read identification (miordid) instructi on allows to read the device identification data in the dio-spi protocol: ? manufacturer identification (1 byte) ? device identification (2 bytes) unlike the rdid instruction of the extended spi protocol, the multiple input/output instruction can not read the unique id code (uid) (17 bytes). for further details on the manufacturer and device identification codes please refer to section 9.1.1: read identification (rdid) . any multiple input/output read identification (miordid) instructi on while an erase or program cycle is in progress, is not decoded, and has no effect on the cycle that is in progress. the device is first selected by driving chip select (s ) low. then, the 8-bit instruction code for the instruction is shifted in parallel on the 2 pins dq0 and dq1. after this, the 24-bit device identification, stored in the memory , will be shifted out on again in parallel on dq1 and dq0. each two bits are shifted out during the falling edge of serial clock (c). the read identification (rdid) instruction is terminated by driving chip select (s ) high at any time during data output. when chip select (s ) is driven high, the device is put in the standby powe r mode. once in the standby power mode, the device waits to be selected, so that it can receive, decode and execute instructions. figure 44. multiple i/o read identification instruction and data-out sequence dio- spi dual_multi_read_io s 2 1345678 0 c 910 11 12 13 14 15 afh man. code dev. code size code 6420 7531 dq0 dq1 6420 7531 6420 7531
instructions N25Q128 - 1.8 v 116/185 9.2.2 dual command fast read (dcfr) the dual command fast read ( dcfr) instruction allows to read the memory in dio-spi protocol, parallelizing the instruction code, the address and the output data on two pins (dq0 and dq1). the dual command fast read (dcfr) instruction can be issued, when the device is set in dio-spi mode, by sending to the memory indifferently one of the 3 instructions codes: 0bh, 3bh or bbh, the effect is exactly the same. the 3 instruction codes are all accepted to help the application code po rting from extended spi protocol to dio-spi protocol. apart for the parallelizing on two pins of the instruction code, the dual command fast read instruction functionality is exactly the same as the dual i/o fast read of the extended spi protocol, please refer to section 9.1.5: dual i/o fast read for further details. figure 45. dual command fast read instruction and data-out sequence dio-spi 9.2.3 read otp (rotp) the read otp (rotp) instruction is used to read the 64 bytes otp area in the dio-spi protocol. the instruction functionality is exactly the same as the read otp instruction of the extended spi protocol; the only difference is that in the dio-spi protocol instruction code, address and output data are all para llelized on the two pins dq0 and dq1. note: the dummy bits can not be parallelized sinc e these clock cycles are requested to perform the internal reading operation. dual_command_fast _read instruction 24-bit address d q0 d q1 s c 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 7531 msb msb 75 1 3 64 0 2 data out 1 64 0 2 data out n 75 1 3 12 13 14 15 2 1 34567 8 9 10 11 0 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 dummy cycles
N25Q128 - 1.8 v instructions 117/185 figure 46. read otp instruction and data-out sequence dio-spi 9.2.4 write enable (wren) the write enable (wren) instruction se ts the write enable latch (wel) bit. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionality is exactly the same as the write enable (wren) instruction of the extended spi protocol. figure 47. write enable instruction sequence dio-spi 9.2.5 write disable (wrdi) the write disable (wrdi) instruction rese ts the write enable latch (wel) bit. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionality is exactly the same as the write disable (wrdi) instruction of the extended spi protocol, please refer to section 9.1.10: write disable (wrdi) for further details. dual_read_otp instruction 24-bit address d q0 d q1 s c 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 7531 msb msb 75 1 3 64 0 2 data out 1 64 0 2 data out n 75 1 3 12 13 14 15 2 1 34567 8 9 10 11 0 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 dummy cycles c dq0 dual_writ e_enable dq1 2 134 0 s instruction
instructions N25Q128 - 1.8 v 118/185 figure 48. write disable instruction sequence dio-spi 9.2.6 dual command page program (dcpp) the dual command page program (dcpp) instruction allows to program the memory content in dio-spi protocol, parallelizing the instruction code, the address and the input data on two pins (dq0 and dq1). before it can be accepted, a write enable (wren) instruction must previously have been executed. the dual command page program (dcpp) instruction can be issued, when the de vice is set in dio-spi mode, by sending to the memory indifferently one of the 3 instruct ions codes: 02h, a2h or d2h, the effect is exactly the same. the 3 instruction codes are all accepted to help the application code porting from extended spi prot ocol to dio-spi protocol. apart for the parallelizing on two pins of the instruction code, the dual command page program instruction functionality is exactly th e same as the dual input extended fast program of the extended spi protocol, please refer to section 9.1.13: dual input extended fast program for further details. figure 49. dual command page program instruction sequence dsp, 02h c d q0 dual_writ e_disab le d q1 2 134 0 instruction s dual_page_program_02h instruction 24-bit address 12 13 14 15 d q0 d q1 s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 64 0 2 7531 75 1 3 16 17 18 19 75 1 3 64 0 2 data byte 2 64 0 2 data byte 256 75 1 3 20 21 22 23 data byte 1 1036 1037 1038 1039
N25Q128 - 1.8 v instructions 119/185 figure 50. dual command page program instruction sequence dsp, a2h figure 51. dual command page program instruction sequence dsp, d2h 9.2.7 program otp instruction (potp) the program otp instruction (potp) is used to program at most 64 bytes to the otp memory area (by changing bits from 1 to 0, only). before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code, address and input data on the two pins dq0 and dq1, the instruction f unctionality (as well as the locking otp method) is exactly the same as the program otp (potp) instruct ion of the extended spi protocol, please refer to section 9.1.16: program otp instruction (potp) for further details. dual_page_program_a2h instruction 24-bit address 12 13 14 15 d q0 d q1 s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 64 0 2 7531 75 1 3 16 17 18 19 75 1 3 64 0 2 data byte 2 64 0 2 data byte 256 75 1 3 20 21 22 23 data byte 1 1036 1037 1038 1039 dual_page_program_d2h instruction 24-bit address 12 13 14 15 d q0 d q1 s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 64 0 2 7531 75 1 3 16 17 18 19 75 1 3 64 0 2 data byte 2 64 0 2 data byte 256 75 1 3 20 21 22 23 data byte 1 1036 1037 1038 1039
instructions N25Q128 - 1.8 v 120/185 figure 52. program otp instruction sequence dio-spi 9.2.8 subsector erase (sse) for devices with bottom or top architecture, at the bottom (or top) of the addressable area there are 8 boot sectors, each one having 16 4kbytes subsectors. the subsector erase (sse) instruction sets to '1' (ffh) all bits inside the chosen subsector. before it can be accepted, a write enable (wren) instructio n must previously have been executed. apart form the parallelizing of the instruction code and the address on the two pins dq0 and dq1, the instruction functiona lity is exactly the same as the subsector erase (sse) instruction of the extended spi protocol, please refer to section 9.1.17: subsector erase (sse) for further details. figure 53. subsector erase instruction sequence dio-spi instruction 24-bit address data byte 1 12 13 14 15 d q1 dual_program_otp s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 64 0 2 7531 75 1 3 16 17 18 19 75 1 3 75 1 3 64 0 2 64 0 2 data byte 2 data byte n 20 21 22 23 24 25 26 27 d q0 instruction 24-bit address 12 13 14 15 d q0 d q1 dual_subsect or_era se c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 7531 s
N25Q128 - 1.8 v instructions 121/185 9.2.9 sector erase (se) the sector erase (se) in struction sets to '1' (ffh) all bits inside the chosen sector. before it can be accepted, a write enable (wren) inst ruction must previously have been executed. apart form the parallelizing of the instruction code and the address on the two pins dq0 and dq1, the instruction functionality is exactly the same as the sector erase (se) instruction of the extended spi protocol, please refer to section 9.1.18: se ctor erase (se) for further details. figure 54. sector erase instruction sequence dio-spi 9.2.10 bulk erase (be) the bulk erase (be) instruction sets all bits to '1' (ffh). before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionality is exactly the same as the bulk erase (be) instruction of the extended spi protocol, please refer to section 9.1.19: bulk erase (be) for further details. instruction 24-bit address 12 13 14 15 d q0 d q1 dual_sect or_era se c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 6420 7531 s
instructions N25Q128 - 1.8 v 122/185 figure 55. bulk erase instruction sequence dio-spi 9.2.11 program/erase suspend the program/erase suspend instruction allows the controller to interrupt a program or an erase instruction, in particular: sector er ase and dual command page program can be suspended and erased while subsector erase, bu lk erase, write non volatile configuration register, and program otp cannot be suspended. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionalit y is exactly the same as t he program/erase suspend (pes) instruction of the extended spi protocol. figure 56. program/erase suspend instruction sequence dio-spi 9.2.12 program/erase resume after a program/erase suspend instruction, a program/erase resume instruction is required to continue performing the suspended program or erase sequence. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionality is exactly the sa me as the program/erase resume (per) c dq0 dual_bulk_era se s 2 13 0 instruction dq1 c d q0 dual_program_erase_suspen d s d q1 2 134 0 instruction
N25Q128 - 1.8 v instructions 123/185 instruction of the extended spi protocol, please refer to section 9.1.21: program/erase resume for further details. figure 57. program/erase resume instruction sequence dio-spi c d q0 dual_program_erase_resum e s d q1 2 134 0 instruction
instructions N25Q128 - 1.8 v 124/185 9.2.13 read status register (rdsr) the read status register (rdsr) instruction allows the status register to be read. apart form the parallelizing of the in struction code and the output data on the two pins dq0 and dq1, the instruction functionality is exactly th e same as the read status register (rdsr) instruction of the extended spi protocol, please refer to section 9.1.22: read status register (rdsr) for further details. figure 58. read status register instruction sequence dio-spi 9.2.14 write status register (wrsr) the write status register (wrsr) instruction allows new values to be written to the status register. before it can be accepted, a write ena ble (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code and the input data on the two pins dq0 and dq1, the instruction functionality and the protection feature management is exactly the same as the write status regi ster (wrsr) instruction of the extended spi protocol, please refer to section 9.1.23: write status register (wrsr) for further details. figure 59. write status register instruction sequence dio-spi status register out dq0 dq1 dual_read_sr instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531 status register in dq0 dq1 dual_write_sr instruction byte s c 2 1 34567 0 6420 7531
N25Q128 - 1.8 v instructions 125/185 9.2.15 read lock register (rdlr) the read lock register instructions is used to read the lock register content. apart form the parallelizing of the instruction code, the address and the output data on the two pins dq0 and dq1, the inst ruction functionality is exactly the same as the read lock register (rdlr) instructio n of the extended spi protocol, please refer to section 9.1.24: read lock register (rdlr) for further details. figure 60. read lock register instruction and data-out sequence dio-spi 9.2.16 write to lo ck register (wrlr) the write to lock register (wrlr) instruction allows bits to be changed in the lock registers. before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code, the address and the input data on the two pins dq0 and dq1, the instruction functiona lity is exactly the same as the write to lock register (wrlr) instruction of the ex tended spi protocol, please refer to section 9.1.25: write to lock register (wrlr) for further details. instruction 24-bit address lock regist er out 12 13 14 15 d q0 d q1 dual_read_l r s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 642064 0 2 753175 1 3 12 13 14 15
instructions N25Q128 - 1.8 v 126/185 figure 61. write to lock register instruction sequence dio-spi 9.2.17 read flag status register the read flag status register (rfsr) instruct ion allows the flag status register to be read. apart form the parallelizing of the instruction code and the out put data on the two pins dq0 and dq1, the instruction functionality is exactly the same as the read flag status register (rfsr) instruction of the extende d spi protocol, please refer to section 9.1.26: read flag status register for further details. figure 62. read flag status register instruction sequence dio-spi instruction 24-bit address lock regist er in 12 13 14 15 d q0 d q1 dual_writ e_l r s c 2 1 34567 8 9 10 11 0 22 20 18 16 23 21 19 17 14 12 10 8 15 13 11 9 642064 0 2 753175 1 3 12 13 14 15 dual_read_flag_sr flag status register out dq0 dq1 instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531
N25Q128 - 1.8 v instructions 127/185 9.2.18 clear flag status register the clear flag status register (clfsr) instructio n reset the error flag status register bits (erase error bit, program error bit, vpp error bit, protection error bit). it is not necessary to set the wel bit before the clear flag status register instruction is executed. the wel bit will be unchanged after this command is executed. figure 63. clear flag status register instruction sequence dio-spi 9.2.19 read nv c onfiguration register the read non volatile configuration register (rdnvcr) instruction allows the non volatile configuration register to be read. figure 64. read nv configuration re gister instruction sequence dio-spi dq0 dq1 dual_clear_flag_sr instruction s c 2 13 0 nvcr out ls byte ms byte dq0 dq1 dual_read_nvcr instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 14 12 10 8 15 13 11 9
instructions N25Q128 - 1.8 v 128/185 9.2.20 write nv c onfiguration register the write non volatile configuration register (wrnvcr) instruction allows new values to be written to the non volatile configuration register. before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code and the input data on the two pins dq0 and dq1, the instruction functionality is ex actly the same as the write non volatile configuration register (wnvcr) instruction of the extended spi protocol, please refer to section 9.1.29: write nv configuration register for further details. figure 65. write nv configuration register instruction sequence dio-spi 9.2.21 read volatile configuration register the read volatile configuration register (rdvcr) instruction a llows the volatile configuration register to be read. see table 6.: volatile configuration register . nvcr in ls byte ms byte dq0 dq1 dual_write_nvcr instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 14 12 10 8 15 13 11 9
N25Q128 - 1.8 v instructions 129/185 figure 66. read volatile configuration register instruction sequence dio-spi 9.2.22 write volatile configuration register the write volatile configuration register (w rvcr) instruction allows new values to be written to the volatile config uration register. before it can be accepted, a write enable (wren) instruction must have been executed previously. in case of fast por, the wren instruction is not required because a wren inst ruction gets the device out from the fast por state (see section 11.1: fast por ). apart form the parallelizing of the instruction code and the input data on the two pins dq0 and dq1, the instruction functionality is exactl y the same as the write volatile configuration register (wvcr) instruction of the ex tended spi protocol, please refer to section 9.1.31: write volatile configuration register for further details. figure 67. write volatile configurati on register instruction sequence dio-spi dual_read_vcr volatile conguration register out dq0 dq1 instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531 dual_write_vcr volatile conguration register in dq0 dq1 instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531
instructions N25Q128 - 1.8 v 130/185 9.2.23 read volatile enha nced configuration register the read volatile enhanced configuration register (rdvecr) in struction allows the volatile configuration register to be read. figure 68. read volatile enhanced configuration register instruction sequence dio-spi 9.2.24 write volatile enha nced configuration register the write volatile enhanced configuration r egister (wrvecr) instruction allows new values to be written to the volatile enhanced configuration register. before it can be accepted, a write enable (wren) instruction must previously have been executed. in case of fast por, the wren instruction is not r equired because a wren instruction gets the device out from the fast por state (see section 11.1: fast por ). apart form the parallelizing of the instruction code and the input data on the two pins dq0 and dq1, the instruction functionality is exactl y the same as the write volatile enhanced configuration register (wrvecr) instruction of the extended spi protocol, please refer to section 9.1.33: write volatile enhanced configuration register for further details. volatile enhanced conguration register out dual_read_vecr dq0 dq1 instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531
N25Q128 - 1.8 v instructions 131/185 figure 69. write volatile enhanced configuration register instruction sequence dio-spi 9.2.25 deep power-down (dp) the deep-power-down (dp) instruction sets the device in deep power-down mode. apart form the parallelizing of the in struction code on the two pins dq0 and dq1, the instruction functionality is exactly the sa me as the deep power-down (dp) instruction of the extended spi protocol. the instruction sequence is shown in figure 70: deep power-down instruction sequence . figure 70. deep power-down instruction sequence volatile enhanced conguration register in dual_write_vecr dq0 dq1 instruction byte byte s c 2 1 34567 8 9 10 11 0 6420 7531 6420 7531 c dq0 dual_dp s 2 13 0 t dp deep power-down mode standby mode instruction dq1
instructions N25Q128 - 1.8 v 132/185 9.2.26 release from deep power-down (rdp) once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp ) instruction. execut ing this instruction takes the device out of the deep power-down mode. apart form the parallelizing of the instruction code on t he two pins dq0 and dq1, the instruction functionality is exactly the same as the release from deep-power-down (rdp) instruction of the extended spi protocol . the instruction sequence is shown in figure 71: release from deep power-do wn instruction sequence . figure 71. release from deep power-down instruction sequence 9.3 qio-spi instructions in qio-spi protocol, instructions, addresses and input/output data always run in parallel on four wires: dq0, dq1, dq2 and dq3 with the already mentioned exception of the modify instruction (erase and progra m) performed with the vpp=vpph. in the case of a quad command fast read (qcfr), read otp (rotp), read lock registers (rdlr), read status register (rdsr) , read flag status register (rfsr), read nv configuration register (r dnvcr), read volatile config uration register (rdvcr), read volatile enhanced configuration register (rdvecr) and read identification (rdid) instruction, the shifted-in in struction sequence is followed by a data-out sequence. chip select (s ) can be driven high after any bit of the data-out sequence is being shifted out. in the case of a quad command page program (qcpp), program otp (potp), subsector erase (sse), sector erase (se), bulk erase (be), program/erase suspend (pes), program/erase resume (per), write status register (wrsr), clear flag status register (clfsr), write to lock register (wrlr), wr ite configuration register (wrvcr), write enhanced configuration register (wrvecr), wr ite nv configuration register (wrnvcr), write enable (wren) or write disable (wrdi) instruction, chip select (s ) must be driven high exactly at a byte boundary, otherwise the in struction is rejected, and is not executed. c dq0 dual_rdp s 2 13 0 t rdp standby mode deep power-down mode high impedance instruction dq1
N25Q128 - 1.8 v instructions 133/185 all attempts to access the memory array during a write status register cycle, a write non volatile configuration register, a program cycle or an erase cycle are ignored, and the internal write status register cycle, write non volatile configuration register, program cycle or erase cycle continues unaffected, the only exception is the program/erase suspend instruction (pes), that can be used to pause all t he program and the erase cycles but the program otp (pot), bulk erase (be) and write non volatile configuration register. the suspended program or erase cycle can be resumed by mean of the program/erase resume instruction (per). during the program/ erase cycles also the polling instructions (to check if the internal modify cycle is finished by mean of the wip bit of the status register or of the program/erase controller bit of the flag status register) are also accepted to allow the application checking the end of the internal modify cycl es, of course these polling instructions don't affect the internal cycles performing. table 24. instruction set: qio-spi protocol (page 1 of 2) instruction description one-byte instruction code (bin) one-byte instruction code (hex) address bytes dummy clock cycle data bytes miordid multiple i/o read identification 1010 1111 afh 0 0 1 to 3 qcfr quad command fast read 0000 1011 0bh 3 10 (1) 1 to 0110 1011 6bh 3 10 (1) 1 to 1110 1011 ebh 3 10 (1) 1 to rotp read otp (read of otp area) 0100 1011 4bh 3 10 (1) 1 to 65 wren write enable 0000 0110 06h 0 0 0 wrdi write disable 0000 0100 04h 0 0 0 qcpp quad command page program 0000 0010 02h 3 0 1 to 256 0011 0010 32h 3 0 1 to 256 0001 0010 12h 3 0 1 to 256 potp program otp (program of otp area) 0100 0010 42h 3 0 1 to 65 sse (2) subsector erase 0010 0000 20h 3 0 0 se sector erase 1101 1000 d8h 3 0 0 be bulk erase 1100 0111 c7h 0 0 0 per program/erase resume 0111 1010 7ah 0 0 0 pes program/erase suspend 0111 0101 75h 0 0 0 rdsr read status register 0000 0101 05h 0 0 1 to wrsr write status register 0000 0001 01h 0 0 1 rdlr read lock register 1110 1000 e8h 3 0 1 to wrlr write to lock register 1110 0101 e5h 3 0 1 rfsr read flag status register 0111 0000 70h 0 0 1 to clfsr clear flag status register 0101 0000 50h 0 0 0 rdnvcr read nv configuration register 1011 0101 b5h 0 0 2
instructions N25Q128 - 1.8 v 134/185 1) the number of dummy clock cycles is configurable by the use r. 2) sse is only available in devices with bottom or top architecture 9.3.1 multiple i/o read identification (miordid) the multiple input/output read identification (miordid) instructi on allows to read the device identification data in the qio-spi protocol: ? manufacturer identification (1 byte) ? device identification (2 bytes) unlike the rdid instruction of the extended spi protocol, the multiple input/output instruction can not read the unique id code (uid) (17 bytes). for further details on the manufacturer and device identification codes, see 9.1.1: read identification (rdid) . any multiple input/output read identification (miordid) instructi on while an erase or program cycle is in progress, is not decoded, and has no effect on the cycle that is in progress. the device is first selected by driving chip select (s ) low. then, the 8-bit instruction code for the instruction is shifted in parallel on the 4 pins dq0, dq1, dq2 and dq3. after this, the 24-bit device identification, stored in the memory, will be shif ted out on again in parallel on dq0, dq1, dq2 and dq3. the iden tification bits are shifted out 4 at a time during the falling edge of serial clock (c). the read identification (rdid) instruction is terminated by driving chip select (s ) high at any time during data output. when chip select (s ) is driven high, the device is put in the standby powe r mode. once in the standby power mode, the device waits to be selected, so that it can receive, decode and execute instructions. multiple i/o read identification (miordid) in struction sequence and data-out sequence qio-spi. wrnvcr write nv configuration register 1011 0001 b1h 0 0 2 rdvcr read volatile configuration register 1000 0101 85h 0 0 1 to wrvcr write volatile configuration register 1000 0001 81h 0 0 1 rdvecr read volatile enhanced configuration register 0110 0101 65h 0 0 1 to wrvecr write volatile enhanced configuration register 0110 0001 61h 0 0 1 dp deep power-down 1011 1001 b9h 0 0 0 rdp release from deep power-down 1010 1011 abh 0 0 0 table 24. instruction set: qio-spi protocol (page 2 of 2) instruction description one-byte instruction code (bin) one-byte instruction code (hex) address bytes dummy clock cycle data bytes
N25Q128 - 1.8 v instructions 135/185 figure 72. multiple i/o read identification instruction and data-out sequence qio- spi 9.3.2 quad command fast read (qcfr) the quad command fast read (qcfr) instructio n allows to read the memory in qio-spi protocol, parallelizing the instru ction code, the address and th e output data on four pins (dq0, dq1, dq2 and dq3). the quad command fast read (qcfr) instruction can be issued, after the device is set in qio-spi mode , by sending to the memory indifferently one of the 3 instructions codes: 0bh, 6bh or ebh, the effect is exactly the same. the 3 instruction codes are all accepted to help the application code porting from extended spi protocol to qio-spi protocol. apart for the parallelizing on four pins of the instruction code, the quad command fast read instruction functionality is exactly th e same as the quad i/ o fast read of the extended spi protocol, please refer to section 9.1.7: quad i/o fast read for further details. s quad_multi_read_io 2 1 345678 0 c 910 11 12 13 14 15 5151 51 6262 62 7373 73 dq0 4040 40 dq1 dq2 dq3 afh man. code dev. code size code
instructions N25Q128 - 1.8 v 136/185 figure 73. quad command fast read instruction and data-out sequence qsp, 0bh figure 74. quad command fast read instruction and data-out sequence qsp, 6bh 2 1 345678 0 mode 3 mode 0 c d q0 s d q1 quad_command_fast _read_0b h 910 5151 40 0 4 51 1 5 73 3 7 d q3 7373 dq2 6262 62 2 6 byte 1 byte 2 dummy (ex.: 10) a23-16 a15-8 a7-0 4040 io switches from input to output instruction 4040 40 5151 51 6262 62 7373 73 15 16 17 18 20 19 21 23 22 24 byte 3 byte 4 25 26 27 4040 4040 4040 4040 byte 5 byte 6 2 1 345678 0 mode 3 mode 0 c d q0 s d q1 quad_command_fast _read_eb h 910 5151 40 0 4 51 1 5 73 3 7 d q3 7373 dq2 6262 62 2 6 byte 1 byte 2 dummy (ex.: 10) a23-16 a15-8 a7-0 4040 io switches from input to output instruction 4040 40 5151 51 6262 62 7373 73 15 16 17 18 20 19 21 23 22 24 byte 3 byte 4 25 26 27 4040 4040 4040 4040 byte 5 byte 6
N25Q128 - 1.8 v instructions 137/185 figure 75. quad command fast read instruction and data-out sequence qsp, ebh 9.3.3 read otp (rotp) the read otp (rotp) instruction is used to read the 64 bytes ot p area in the qio-spi protocol. the instruction functionality is exactly the same as the read otp instruction of the extended spi protocol. the only difference is th at in the qio-spi prot ocol instruction code, address and output data are all parallelized on the four pins dq 0, dq1, dq2 and dq3. note: the dummy byte bits can not be parallelized: 8 clock cycles are requested to perform the internal reading operation. 2 1 345678 0 mode 3 mode 0 c d q0 s d q1 quad_command_fast _read_eb h 910 5151 40 0 4 51 1 5 73 3 7 d q3 7373 dq2 6262 62 2 6 byte 1 byte 2 dummy (ex.: 10) a23-16 a15-8 a7-0 4040 io switches from input to output instruction 4040 40 5151 51 6262 62 7373 73 15 16 17 18 20 19 21 23 22 24 byte 3 byte 4 25 26 27 4040 4040 4040 4040 byte 5 byte 6
instructions N25Q128 - 1.8 v 138/185 figure 76. read otp instruction and data-out sequence qio-spi 9.3.4 write enable (wren) the write enable (wren) instruction sets the write enable latch (wel) bit. apart form the parallelizing of the instruction code on th e four pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the write enable instruction of the extended spi protocol, please refer to section 9.1.9: write enable (wren) for further details. figure 77. write enable instruction sequence qio-spi quad_read_ot p dat a out 1 dat a out n 2 1 345678 0 c d q0 s d q1 910 51 40 0 4 51 1 5 73 3 7 d q3 73 d q2 62 62 2 6 dummy (ex.: 10) 40 instruction 4040 40 5151 51 6262 62 7373 73 15 16 17 18 20 19 21 23 22 c quad_writ e_enab le 1 0 s instruction dq1 dq3 dq2 dq0
N25Q128 - 1.8 v instructions 139/185 9.3.5 write disable (wrdi) the write disable (wrdi) instruction rese ts the write enable latch (wel) bit. apart form the parallelizing of the instruction code on the f our pins dq0, dq1, dq2 and dq3, the instruction functionality is exac tly the same as the write disable (wrdi) instruction of the extended spi protocol, please refer to section 9.1.10: write disable (wrdi) for further details. figure 78. write disable instruction sequence qio-spi 9.3.6 quad command page program (qcpp) the quad command page program (qcpp) instruction allows to program the memory content in dio-spi protocol, parallelizing the instruction code, the address and the input data on four pins (dq0, dq1, dq2 and dq3) . before it can be accepted, a write enable (wren) instruction must previously have been executed. the quad command page program (qcpp) instruction can be issued, when the device is set in qio-spi mode, by sending to the memory indifferently one of th e 3 instructions codes: 02h, 12h or 32h, the effect is exactly the same. the 3 instruction codes are all accepted to help the application code porting from extended spi protocol to qio-spi protocol. apart for the parallelizing on four pins of the instruction code, the quad command page program instruction functionality is exactly th e same as the quad input extended fast program of the extended spi protocol, please refer to section 9.1.15: quad input extended fast program for further details. c quad_writ e_disab le 1 0 instruction dq1 dq3 dq2 dq0 s
instructions N25Q128 - 1.8 v 140/185 figure 79. quad command page program instruction sequence qio-spi, 02h figure 80. quad command page program instruction sequence qio-spi, 12h 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 d q1 quad_command_page_program_02h 15 517 514 515 516 519 518 5151 data in d q3 dq2 62 6 262 24-bit address msb 40 20 16 12 8 21 17 13 9 22 18 14 10 23 19 15 11 40 4040 40 62 73 51 1 5 1 5 6 22 6 2 6 73 3 7 3 7 40 0 4 0 4 51 51 51 62 7373 73 73 msb msb msb msb msb data in 254 255 256 1 2 3 4 s 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 d q1 quad_command_page_program_12h 15 5151 data in d q3 dq2 62 6 262 24-bit address msb 40 20 16 12 8 21 17 13 9 22 18 14 10 23 19 15 11 40 4040 40 62 73 51 1 5 1 5 6 22 6 2 6 73 3 7 3 7 40 0 4 0 4 51 51 51 62 7373 73 73 msb msb msb msb msb data in 254 255 256 1 2 3 4 517 514 515 516 519 518 s
N25Q128 - 1.8 v instructions 141/185 figure 81. quad command page program instruction sequence qio-spi, 32h 9.3.7 program otp instruction (potp) the program otp instruction (potp) is used to program at most 64 bytes to the otp memory area (by changing bits from 1 to 0, only). before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code, address and input data on the four pins dq0, dq1, dq2 and dq3, the in struction functionality (as we ll as the locking otp method) is exactly the same as the program otp (potp) instruction of the extended spi protocol, please refer to section 9.1.16: program otp instruction (potp) for further details. 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 d q1 quad_command_page_program_12 h 15 5151 data in d q3 dq2 62 6 262 24-bit address msb 40 20 16 12 8 21 17 13 9 22 18 14 10 23 19 15 11 40 4040 40 62 73 51 1 5 1 5 6 22 6 2 6 73 3 7 3 7 40 0 4 0 4 51 51 51 62 7373 73 73 msb msb msb msb msb data in 254 255 256 1 2 3 4 517 514 515 516 519 518 s
instructions N25Q128 - 1.8 v 142/185 figure 82. program otp instruction sequence qio-spi 9.3.8 subsector erase (sse) for devices with a dedicated part number, at the bottom (or top) of the addressable area there are 8 boot sectors, each one having 16 4kbytes subsectors. (see section 16: ordering information .) the subsector erase (sse) instruction sets to '1' (ffh) all bits inside the chosen subsector. before it can be accept ed, a write enable (wre n) instruction must previously have been executed. apart form the parallelizing of the instruction code and the address on the four pins dq0, dq1, dq2 and dq3, the instruction functionalit y is exactly the same as the subsector erase (sse) instruction of the extended spi protocol, please refer to section 9.1.17: subsector erase (sse) for further details. quad_program_otp instruction 24-bit address d q0 20 16 12 8 40 23 19 15 11 73 d q2 22 18 14 10 dq1 21 17 13 9 51 6 2 40 51 62 73 dq3 4040 5151 7373 6262 2 1 345678 0 c 910 11 12 13 14 s dat a byte1 dat a byte 2 dat a byte n
N25Q128 - 1.8 v instructions 143/185 figure 83. subsector erase instruction sequence qio-spi 9.3.9 sector erase (se) the sector erase (se) in struction sets to '1' (ffh) all bits inside the chosen sector. before it can be accepted, a write enable (wren) inst ruction must previously have been executed. apart form the parallelizing of the instruction code and the address on the four pins dq0, dq1, dq2 and dq3, the instruction functionalit y is exactly the same as the sector erase (se) instruction of the extended spi protocol, please refer to section 9.1.18: sector erase (se) for further details. figure 84. sector erase instruction sequence qio-spi c s instruction 24-bit address d q0 20 16 12 8 40 d q3 23 19 15 11 73 d q2 22 18 14 10 d q1 21 17 13 9 51 6 2 2 1 3456789 0 quad_subsector_erase quad_sect or_era se c instruction 24-bit address d q0 20 16 12 8 40 d q3 23 19 15 11 73 d q2 22 18 14 10 d q1 21 17 13 9 51 6 2 2 1 3456789 0 s
instructions N25Q128 - 1.8 v 144/185 9.3.10 bulk erase (be) the bulk erase (be) instruction sets all bits to '1' (ffh). before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code on the f our pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the bulk erase (be) instruction of the extended spi protocol, please refer to section 9.1.19: bulk erase (be) for further details. figure 85. bulk erase instruction sequence qio-spi 9.3.11 program/erase suspend the program/erase suspend instruction allows the controller to interrupt a program or an erase instruction, in particular: sector erase and quad command page program can be suspended and erased while that subsector erase, bulk erase, write non volatile configuration register and program otp can not be suspended. apart form the parallelizing of the instruction code on the f our pins dq0, dq1, dq2 and dq3, the instruction functiona lity is exactly the same as th e program/erase suspend (pes) instruction of the extended spi protocol, please refer to section 9.1.20: program/erase suspend for further details. c quad_bul k_era se s 1 0 instruction dq0 dq1 dq2 dq3
N25Q128 - 1.8 v instructions 145/185 figure 86. program/erase suspend instruction sequence qio-spi 9.3.12 program/erase resume after a program/erase suspend instruction, a program/erase resume instruction is required to continue performing the suspended program or erase sequence. apart form the parallelizing of the instruction code on the f our pins dq0, dq1, dq2 and dq3, the instruction functiona lity is exactly the same as the program/erase resume (per) instruction of the extended spi protocol, please refer to section 9.1.21: program/erase resume for further details. quad_program_erase_suspen d instruction s c 1 0 dq3 d q0 dq2 d q1
instructions N25Q128 - 1.8 v 146/185 figure 87. program/erase resume instruction sequence qio-spi 9.3.13 read status register (rdsr) the read status register ( rdsr) instruction allows the status register to be read. apart form the parallelizing of the instruction code and the output data on the four pins dq0, dq1, dq2 and dq3, the instruction functionalit y is exactly the same as the read status register (rdsr) instruction of the ex tended spi protocol, please refer to section 9.1.22: read status register (rdsr) for further details. quad_program_erase_resum e instruction s c 1 0 dq3 d q0 dq2 d q1
N25Q128 - 1.8 v instructions 147/185 figure 88. read status register instruction sequence qio-spi 9.3.14 write status register (wrsr) the write status register (wrsr) instruction allows new values to be written to the status register. before it can be accepted, a write ena ble (wren) instruction must previously have been executed. the instruction code and the input data are sent on four pins dq0, dq1, dq2 and dq3. the instruction functionality is exac tly the same as the write status register (wrsr) instruction of the extended spi protocol (see section 9.1.23: write status register (wrsr) ). however, the protection feature management is different. in particular, once srwd bit is set to '1' the device enters in the hardware protected mo de (hpm) independently from write protect (w/vpp) signal value. to exit the hpm mode is needed to switch temporarily to the extended spi protocol. quad_read_sr c s 2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 status register out 0 dq0 dq1 dq3 dq2 instruction 4040 40 5151 51 6262 62 7373 73 40 0 4 51 1 5 73 3 7 62 2 6 4040 5151 6262 7373 40 51 62 73 16 17 18
instructions N25Q128 - 1.8 v 148/185 figure 89. write status register instruction sequence qio-spi 9.3.15 read lock register (rdlr) the read lock register instructions is used to read the lock register content. apart form the parallelizing of the instruction code, the address and the output data on the four pins dq0, dq1, dq2 and dq3, the instruct ion functionality is exactly the same as the read lock register (rdlr) instruction of the extended spi protocol, please refer to section 9.1.24: read lock register (rdlr) for further details. quad_write_sr status register in c s 2 13 0 40 51 62 73 dq2 dq0 dq3 dq1
N25Q128 - 1.8 v instructions 149/185 figure 90. read lock register instruction and data-out sequence qio-spi 9.3.16 write to lo ck register (wrlr) the write to lock register (wrlr) instruction allows bits to be changed in the lock registers. before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code, the address and the input data on the four pins dq0, dq1, dq2 and dq3, the instruct ion functionality is exactly the same as the write to lock register (wrlr) instruction of the extended spi protocol, please refer to section 9.1.25: write to lock register (wrlr) for further details. quad_read_l r c s 2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 lock regist er out 0 d q0 d q1 d q3 dq2 instruction 20 16 12 8 40 21 17 13 9 51 22 18 14 10 62 23 19 15 11 73 5151 40 0 4 51 1 5 73 3 7 7373 6262 62 2 6 4040 24-bit address
instructions N25Q128 - 1.8 v 150/185 figure 91. write to lock register instruction sequence qio-spi 9.3.17 read flag status register the read flag status register (rfsr) instruct ion allows the flag status register to be read. apart form the parallelizing of the instruction code and the output data on the four pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the read flag status register (rfsr) instruction of the extended spi protocol, please refer to section 9.1.26: read flag status register for further details. quad_writ e_l r c s instruction 24-bit address lock regist er in d q0 20 16 12 8 40 d q3 23 19 15 11 73 d q2 22 18 14 10 d q1 21 17 13 9 51 6 2 40 51 62 73 2 1 3456789 0
N25Q128 - 1.8 v instructions 151/185 figure 92. read flag status register instruction sequence qio-spi 9.3.18 clear flag status register the clear flag status register (clfsr) instructio n reset the error flag status register bits (erase error bit, program error bit, vpp error bit, protection error bit). it is not necessary to set the wel bit before the clear flag status register instruction is executed. the wel bit will be unchanged after this command is executed. s quad_read_flag_sr 2 1 345678 0 mode 3 mode 0 c dq0 dq1 910 dq3 dq2 instruction 4040 40 5151 51 6262 62 7373 73 11 12 13 14 15 5151 40 0 4 51 1 5 73 3 7 7373 6262 62 2 6 4040 flag status register out
instructions N25Q128 - 1.8 v 152/185 figure 93. clear flag status register instruction sequence qio-spi 9.3.19 read nv c onfiguration register the read non volatile configuration register (rdnvcr) instruction allows the non volatile configuration register to be read. c quad_clear_flag_sr 1 0 s instruction dq3 dq1 dq2 dq0
N25Q128 - 1.8 v instructions 153/185 figure 94. read nv configuration re gister instruction sequence qio-spi 9.3.20 write nv c onfiguration register the write non volatile configuration register (wrnvcr) instruction allows new values to be written to the non volatile configuration register. before it can be accepted, a write enable (wren) instruction must previously have been executed. apart form the parallelizing of the instruction code and the input data on the four pins dq0, dq1, dq2 and dq3, the instruction functiona lity is exactly the same as the write non volatile configuration register (wrnvcr) inst ruction of the extended spi protocol, please refer to section 9.1.29: write nv configuration register for further details. c quad_read_nvcr s 2 1 345 instruction 0 ls byte ms byte dq0 dq1 dq3 4 0 12 8 5 1 13 9 6 2 14 10 7 3 15 11 dq2 nonvolatile conguration register out
instructions N25Q128 - 1.8 v 154/185 figure 95. write nv configuration register instruction sequence qio-spi 9.3.21 read volatile configuration register the read volatile configuration register (rdvcr) instruction a llows the volatile configuration register to be read. c quad_write_nvcr s 2 1345 instruction nonvolatile conguration register in 0 ls byte ms byte dq0 dq1 dq3 dq2 4 0 12 8 5 1 13 9 6 2 14 10 7 3 15 11
N25Q128 - 1.8 v instructions 155/185 figure 96. read volatile configuration register instruction sequence qio-spi 9.3.22 write volatile configuration register the write volatile configuration register (w rvcr) instruction allows new values to be written to the volatile config uration register. before it can be accepted, a write enable (wren) instruction must previo usly have been executed. in ca se of fast por, the wren instruction is not required because a wren inst ruction gets the device out from the fast por state (see section 11.1: fast por ). apart form the parallelizing of the instruction code and the input data on the four pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the write volatile configuration register (wrvcr) instruction of the extended spi protocol, please refer to section 9.1.31: write volat ile configuration register for further details. quad_read_vcr c s 2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 volatile conguration register out 0 dq0 dq1 dq3 dq2 instruction 4040 40 5151 51 6262 62 7373 73 5151 40 0 4 51 1 5 73 3 7 7373 6262 62 2 6 4040
instructions N25Q128 - 1.8 v 156/185 figure 97. write volatile configuration register instruction sequence qio-spi 9.3.23 read volatile enha nced configuration register the read volatile enhanced configuration register (rdvecr) in struction allows the volatile configuration register to be read. volatile conguration register in c quad_write_vcr s 2 13 0 40 51 62 73 dq0 dq1 dq3 dq2
N25Q128 - 1.8 v instructions 157/185 figure 98. read volatile enhanced configuration register instruction sequence qio-spi 9.3.24 write volatile enha nced configuration register the write volatile enhanced configuration r egister (wrvecr) instruction allows new values to be written to the volatile enhanced configuration register. before it can be accepted, a write enable (wren) instruction must previously have been executed. in case of fast por the wren instru ction is not required because a wren instruction gets the device out from the fast por state (see section 11.1: fast por ). apart form the parallelizing of the instruction code and the input data on the four pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the write volatile enhanced configuration register (wrvecr) instruction of the extended spi protocol, please refer to section 9.1.33: write volatile enhanced configuration register for further details. quad_read_vecr c s 2 1 3 4 5 6 7 8 9 10 11 12 13 14 15 volatile enhanced conguration register out 0 dq0 dq1 dq3 dq2 instruction 4040 40 5151 51 6262 62 7373 73 5151 40 0 4 51 1 5 73 3 7 7373 6262 62 2 6 4040
instructions N25Q128 - 1.8 v 158/185 figure 99. write volatile enhanced configuration register instruction sequence qio-spi c quad_write_vecr s 2 13 volatile enhanced conguration register in 0 dq0 dq1 dq3 dq2 instruction 40 51 62 73
N25Q128 - 1.8 v instructions 159/185 9.3.25 deep power-down (dp) the deep-power-down (dp) instruction sets the device in deep power-down mode. apart form the parallelizing of the in struction code on the four pins dq0, dq1, dq2 and dq3, the instruction functionality is exactly the same as the deep power-down (dp) instruction of the extended spi protocol. the instruction sequence is shown in figure 100 . figure 100. deep power-down instruction sequence c dq0 s 1 0 t dp deep power-down mode standby mode instruction dq1 dq2 dq3
instructions N25Q128 - 1.8 v 160/185 9.3.26 release from deep power-down (rdp) once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp ) instruction. execut ing this instruction takes the device out of the deep power-down mode. apart form the parallelizing of the instruction code on the two pi ns dq0, dq1, dq2 and dq3, the instructi on functionality is exactly the same as the release from deep-power-down (rdp) instruction of the extended spi protocol. the instruction sequence is shown in figure 101 . figure 101. deep power-down instruction sequence c dq0 quad_rdp s 1 0 t rdp standby mode deep power-down mode instruction dq1 dq2 high impedance dq3
N25Q128 - 1.8 v xip operations 161/185 10 xip operations xip (execution in place) mode is availabl e in each protocol: extended spi, dio-spi, and qio-spi. xip mode allows the memory to be read simply by sending an address to the device and then receiving the data on one, two, or four pins in parallel, depending on the customer requirements. it offe rs maximum flexibility to the ap plication, save s instruction overhead, and allows a dramatic reduction to the random access time. you can enable xip mode in two ways: ? using the volatile configuration register: this is dedicated to applic ations that boot in spi mode (extended spi, dio-spi or qio-spi) and then during the application life need to switch to xip mode to direct ly execute some code in the flash. ? using the non volatile configuration register : this is dedicated to applications that need to boot directly in xip mode. setting to 0 the bit 3 of the volatile configuratio n register the device is ready to enter in xip mode right after the next fast read instruction (by 1, 2 or 4 pin). while acting on the non volatile configuration register (bit 11 to bit 9, depending on which xip type is required, single, dual or quad i/o) the memory enters in the selected xip mode only after the next power-on sequence. th e non volatile configuration register xip configuration bits allows the memory to start di rectly in the required xip mode (single, dual or quad) after the power on. the xip mode status must be confirmed forci ng the xip confirmation bit to "0", the xip confirmation bit is the value on the dq0 pin during the first dummy clock cycle after the address in xip reading instruction. forcing the bit "1" on dq0 during the first dummy clock cycle after the address (xip co nfirmation bit) the memory returns in the previous standard read mode, that means it will codi fy as an instructio n code the next byte received on the input pin(s) after the next chip select. instead , if the xip mode is confirmed (by forcing the xip confirmation bit to 0), after the device ne xt de-selection and selection cycle, the memory codify the first 3 bytes received on the inputs pin(s) as a new address. besides not confirming the xip mode during the firs t dummy clock cycle, it is possible to exit the xip mode by mean of a dedicated rescue sequence. note: for devices with a feature set digit equal to 2 or 4 in the part number (basic xip), it is not necessary to set the vola tile configuration register bit 3 to enter xip mode: it is possible to enter xip mode directly by setting xip conf irmation bit to 1 during the first dummy clock cycle after a fast read instruction.see section 16: ordering information .
xip operations N25Q128 - 1.8 v 162/185 figure 102. N25Q128 read functionality flow chart 10.1 enter xip mode by setting the non volatile configuration register to use the non volatile configur ation register method to enter in xip mode it is necessary to set the non volatile configuration register bits from 11 to 9 with the pattern corresponding to the required xip mode by mean of the write non volatile configuration register (wrnvcr) instruction. (see table 25.: nvcr xip bits setting example .) this instruction doesn't affect the xip state until the next power on sequence. in this case, after the next power on sequence, the memory directly accept addresses and then, after the dummy clock cycles (configurable), outputs the data as described in table 25.: nvcr xip bits setting example . for example to enable fast por and xip on qiofr in normal spi protocol with six dummy clock cycles the following pattern must be issued: spi standard mode (no xip, vcr <3> = 1) spi mode (no xip) but ready to enter xip vcr<3> = 0 ? read instructions ? xip confirmation bit = 0 ? power on nvcr check is xip enabled ? xip mode xip confirmation bit = 0 ? yes yes no no yes yes yes no no no
N25Q128 - 1.8 v xip operations 163/185 figure 103. xip mode di rectly after power on note: xb is the xip confirmation bit, and it should be set to '0' to keep xip state or '1' to exit xip mode and return to standard read mode. table 25. nvcr xip bi ts setting example b1h (wrnvcr opcode) + 0110 100 111 0 1 11 xx 6 dummy cycles for fast read instructions xip set as default; quad i/o mode output buffer driver strength default fast por enabled hold/reset not disabled extended spi protocol don?t care vd nvcr check: xip enabled t vsi (<100) dq0 s quad_xip_after_power-on 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c 15 16 dq1 dq2 dq3 40 4040 51 5151 73 7373 62 6262 dummy (ex.: 6) a23-16 a15-8 a7-0 40 0 4 4 byte 1 51 1 5 5 73 3 7 7 6 22 6 6 byte 2 io switches from input to output xb
xip operations N25Q128 - 1.8 v 164/185 10.2 enter xip mode by setting the volatile configuration register to use the volatile configuration register method to enter xip mode, it is necessary to write a 0 to bit 3 of the volatile configuration regi ster to make the devi ce ready to enter xip mode (2). this instruction doesn't permit to en ter xip state directly: a fast read instruction (either single, dual or quad) is needed once to start the xip reading. after the fast read instruction (single, dual or quad) the xip confirmation bit must be set to 0. (first bit on dq0 during the first dumm y cycle after the address has been received), then after the next de-select and select cycle (s pin set to 1 and then to 0) the memory codify the first 3 bytes received on the input pin(s) directly as an address, without any instruction code, and after the dummy clock cycl es (configurable) directly outputs the data. for example to enable the xip (without ente r) with six dummy clock cycles, the pattern in table 26.: vcr xip bits setting example must be issued, and after that it is possible to enter, for example, in xip mode from extended spi re ad mode by mean of quad input output fast read instruction, as described in table 26.: vcr xip bits setting example . note: for devices with a feature set digit equal to 2 or 4 in the part number (basic xip), it is not necessary to set the volatile conf iguration register bit 3 to enter in xip mode: it is possible to enter directly in xip mode by setting xip confirmation bit to 1 during the first dummy clock cycle after a fast read instruction. see section 16: orderi ng information . table 26. vcr xip bits setting example 81h (wrvcr opcode) + 0110 0 000 6 dummy cycles ready for xip reserved
N25Q128 - 1.8 v xip operations 165/185 figure 104. xip: enter by vcr 2/2 (q iofr in normal spi protocol example) note: xb is the xip confirmation bit, and it should be set to '0' to keep xip state or '1' to exit xip mode and return to standard read mode. 10.3 xip mode hold and exit the xip mode does require at least one addition al clock cycle to allow the xip confirmation bit to be sent to the memory on dq0 during the first dummy clock cycle. the device decodes the xip confirmation bit with the scheme: ? xip confirmation bit=0 means to hold xip mode ? xip confirmation bit=1 means to exit xip mode and comes back to read mode, that means codifying the first by te after the next chip select as an instruction code. in dual i/o xip mode, the values of dq1 du ring the first dummy clock cycle after the addresses is always don't care. in quad i/o xip mode, the values of dq3, dq2 and dq1 during the first dummy clock cycle after the addresses are always don't care. in dual and single i/o xip m ode, in presence of the reset pin enabled (in devices with a dedicated part number), a low pulse on that pi n resets the xip protocol as defined by the volatile configuration register, reporting the memory at the state of last power up, as defined by the non volatile conf iguration register. in quad i/o xip modes, it is possible to reset the memory (for devices with a dedica ted part number) only when the device is deselected. see section 16: ordering information . 2 1 345678910 11 12 13 14 0 mode 3 mode 0 c d q0 s instruction xip_vcr 15 16 40 4040 17 18 20 19 22 21 23 51 5151 d q1 don?t care byte 1 73 7373 62 6262 d q2 don?t care 40 0 4 4 51 1 5 5 73 3 7 7 6 22 6 6 byte 2 dummy (ex.: 6) a23-16 a15-8 a7-0 d q3 ?1? io switches from input to output xb
xip operations N25Q128 - 1.8 v 166/185 10.4 xip memory reset after a controller reset if during the application life the system controlle r is reset during operation, and the device features the reset func tionality (in devices with a dedicat ed part number), and the feature has not been disabled, after the controller resets, the memory returns to por state and there is no issue. see section 16: ordering information . in all the other cases, it is possible to exit the memory from the xip mode by sending the following rescue sequence at the first chip selection after a system reset: dq0= '1' for: 7 clock cycles within s low (s becomes high before 8th clock cycle) + 13 clock cycles within s low (s becomes high before 14th clock cycle) + 25 clock cycles within s low (s becomes high before 26th clock cycle) the global effect is only to exit from xip without any other reset.
N25Q128 - 1.8 v power-up and power-down 167/185 11 power-up and power-down at power-up and power-down, the device must not be selected (that is chip select (s ) must follow the voltage applied on vcc) until vcc reaches the correct value: ? vcc(min) at power-up, and then for a further delay of tvsl ? vss at power-down a safe configuratio n is provided in section 3: spi modes . to avoid data corruption and inadvertent write operations during power-up, a power on reset (por) circuit is included. the logic inside the device is held reset while vcc is less than the power on reset (por) threshold voltage, vwi - all operations are disabled, and the device does not respond to any instruction. moreover, the device ignores the write enable (wren) instruction and all the modify instructions until a time delay of tpuw has elapsed after the moment that vcc rises above the vwi threshold. however, the correct operati on of the device is not guaranteed if, by this time, vcc is still below vcc(min). no write stat us register, program or erase instructions should be sent until the later of: ? tpuw after vcc has passed the vwi threshold ? tvsl after vcc has passed the vcc(min) level these values are specified in table 27.: power-up timing and vwi threshold . if the time, tvsl, has elapsed, after vcc rises above vcc(min), the device can be selected for read instructions even if the tpuw delay has not yet fully elapsed. after power-up, the device is in the following state: ? the device is in the standby power mode (not the deep power-down mode) ? the write enable latch (wel) bit is reset ? the write in progress (wip) bit is reset ? the lock registers are configured as: (wri te lock bit, lock do wn bit) = (0,0). normal precautions must be taken for supply line decoupling, to st abilize the vcc supply. each device in a system should have the v cc line decoupled by a suitable capacitor close to the package pins (generally, this ca pacitor is of the order of 100 nf). at power-down, when vcc drops from the oper ating voltage, to below the power on reset (por) threshold voltage, vwi, all operations are disabled and the device does not respond to any instruction (the designer needs to be aware that if power-down occurs while a write, program or erase cycle is in progress , some data corruption may result). vpph must be applied only when vcc is stable and in the vcc(min) to vcc(max) voltage range.
power-up and power-down N25Q128 - 1.8 v 168/185 figure 105. power-up timing, fast por selected figure 106. power-up timing, fast por not selected table 27. power-up timing and v wi threshold symbol parameter min max unit t vtr (1) 1. these parameters are characterized only. v cc (min) to read when fast por is selected 100 s t dtw (1) time delay to write instruction when fast por is selected 500 s t vtw (1) v cc (min) to device fu lly accessible 600 s v wi (1) write inhibit voltage 1.5 2.5 v vcc time v cc (max) v cc (min) v wi chip selection not allowed polling allowed all read, wrcr, wrecr allowed t vtr polling allowed device fully accessible wren issued t dtw spi protocol chip reset starting protocol defined by nvcr wip = 1 wel = 0 wip = 0 wel = 0 wip = 1 wel = 1 wip = 0 wel = 1 vcc time v cc (max) v cc (min) v wi chip selection not allowed polling allowed t vtw =t vtr + t dtw device fully accessible spi protocol chip reset wip = 1 wel = 0 starting protocol defined by nvcr wip = 0 wel = 0
N25Q128 - 1.8 v power-up and power-down 169/185 11.1 fast por the fast por feature is available to speed up the power-on sequence for applications that only require reading the memory after the power on sequence (no modify instructions). if enabled, the fast por allows read operati ons and volatile config uration register and volatile enhanced configuration register modi fications after less than 100us, providing a substantially faster application boot phase. in any case, even if the fast por sequence is selected, it is still possible to execute a modify instruction (erase or program) issuing a wren instruction. in this case the device will have a latency time (~500us) after the fi rst wren instruction to complete por sequence. during this latency time, when the power on second phase is running, no instruction will be accepted exce pt for the polling inst ruction. during th e power on second phase, both wel & wip bits are set to 1. at the end of por sequence only the wel bit is still set to 1. to select or deselect the fa st por feature, a write non volatile configuration register (wrnvcr) instruction is needed to properly set the dedicated bit (bit 5) of the non volatile configuration register. 11.2 rescue sequence in case of power loss during wrnvcr if a power loss occurs during a write non volat ile configuration register instruction, after the next power on the device could eventually wake up in a not determined state, for example a not required protocol or xip mode. in that case a particular rescue sequence must be used to recover the device at a fixed state (extended spi prot ocol without xip) until the next power up. then to fix the problem definitively is recommended to run the write non volatile configuration register again. the rescue sequence is composed of two parts that have to be run in the correct order. during all the sequence the tshsl must be 50ns at least. the sequence is: dq0 (pad data) equal to '1' for: 7 clock cycles within s low (s becomes high before 8th clock cycle) + 13 clock cycles within s low s becomes high before 14th clock cycle) + 25 clock cycles within s low (s becomes high before 26th clock cycle) to exit from xip. dq0 (pad data) and dq3 (pad hold) equal to '1' for: 8 clock cycles within s low (s becomes high before 9th clock cycle) to force normal spi protocol.
initial delivery state N25Q128 - 1.8 v 170/185 12 initial delivery state the device is delivered with the memory array erased: all bits are set to 1 (each byte contains ffh). the status register contai ns 00h (all status register bits are 0). 13 maximum rating stressing the device outside the ratings liste d here may cause permanent damage to the device. these are stress ratings only, and operation of the device at these, or any other conditions outside those indicated in the operat ing sections of this specification, is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. table 28. absolute maximum ratings symbol parameter min max unit t stg storage temperature ?65 150 c t lead lead temperature during soldering see (1) 1. compliant with jedec std. j-std-020c (for small body, sn-pb or pb assembly), the numonyx ecopack? 7191395 specification, and the eur opean directive on restrictions on hazardous substances (rohs) 2002/95/eu. c v io input and output voltage (with respect to ground) ?0.6 v cc +0.6 v v cc supply voltage ?0.6 4.0 v vpp fast program/erase voltage (2) 2. avoid applying vpp h to the w /vpp pin during bulk erase. ?0.2 10.0 v v esd electrostatic discharge voltage (human body model) (3) 3. jedec std jesd22-a114a (c1 = 100 pf, r1 = 1500 , r2 = 500 ). ?2000 2000 v
N25Q128 - 1.8 v dc and ac parameters 171/185 14 dc and ac parameters this section summarizes the operating and measurement conditions, and the dc and ac characteristics of the de vice. the parameters in the dc and ac characteristics tables that follow are derived from tests performed under the measurement conditions summarized in the relevant tables. designers should check th at the operating conditions in their circuit match the measurement conditions wh en relying on the quoted parameters. 1) output buffers are configurable by user. figure 107. ac measurement i/o waveform table 29. operating conditions symbol parameter min typ max unit v cc supply voltage 1.7 2 v vpp h supply voltage on vpp 8.5 9.5 v t a ambient operating temperature ?40 85 c table 30. ac measurement conditions symbol parameter min max unit c l load capacitance 30 (1) pf input rise and fall times 5 ns input pulse voltages 0.2v cc to 0.8v cc v input timing reference voltages 0.3v cc to 0.7v cc v output timing reference voltages v cc / 2 v table 31. capacitance (1) 1. sampled only, not 100% tested, at t a =25 c and a frequency of 54 mhz. symbol parameter test condition min max unit c in/out input/output capacitance (dq0/dq1/dq2/dq3) v out = 0 v 8 pf c in input capacitance (other pins) v in = 0 v 6 pf ai07455 0.8v cc 0.2v cc 0.7v cc 0.3v cc input and output timing reference levels input levels 0.5v cc
dc and ac parameters N25Q128 - 1.8 v 172/185 table 32. dc characteristics symbol parameter test condition (in addiction to those in table 29.: operating conditions ) min max unit ili input leakage current 2 a ilo output leakage current 2 a icc1 standby current s = vcc, vin = vss or vcc 70 a icc2 deep power-down current s = vcc, vin = vss or vcc 10 a icc3 operating current (fast read single i/o) c = 0.1vcc / 0.9vcc at 108 mhz, dq1 = open 15 ma c = 0.1vcc / 0.9vcc at 54 mhz, dq1 = open 6ma operating current (fast read dual i/o) c = 0.1vcc / 0.9vcc at 108 mhz 18 ma operating current (fast read quad i/o) c = 0.1vcc / 0.9vcc at 108 mhz 20 ma icc4 operating current (p age program single, dual and quad i/o) s = vcc 20 ma icc5 operating current (wrsr) s = vcc 20 ma icc6 operating current (se) s = vcc 20 ma vil input low voltage ? 0.5 0.3vcc v vih input high voltage 0.7vcc vcc+0.4 v vol output low voltage iol = 1.6 ma 0.4 v voh output high voltage ioh = ?100 a vcc?0.2 v
N25Q128 - 1.8 v dc and ac parameters 173/185 note: the ac characteristi cs data is preliminary. table 33. ac characteristics (page 1 of 2) symbol alt. parameter min typ (2) max unit fc fc clock frequency for the all the instructions (extended spi, dio-spi and qio-spi protocol) but the read instruction d.c. 108 mhz fr clock frequency for re ad instructions d.c. 54 mhz tch (1) tclh clock high time 4 ns tcl (2) tcll clock low time 4 ns tclch (3) clock rise time (4) (peak to peak) 0.1 v/ns tchcl (3) clock fall time (4) (peak to peak) 0.1 v/ns tslch tcss s active setup time (relative to c) 4 ns tchsl 4 ns tdvch tdsu data in setup time 2 ns tchdx tdh data in hold time 3 ns tchsh s active hold time (relative to c) 4 ns tshch s not active setup time (relative to c) 4 ns tshsl tcsh s deselect time after a correct read instruction 20 ns s deselect time after a not correct read or after any different instruction 50 ns tshqz (3) tdis output disable time 8 ns tclqv tv clock low to output valid under 30 pf 7 ns clock low to output valid under 10 pf 5 ns tclqx tho output hold time 1 ns thlch hold setup time (relative to c) 4 ns tchhh hold hold time (relative to c) 4 ns thhch hold setup time (relative to c) 4 ns tchhl hold hold time (relative to c) 4 ns thhqx (3) tlz hold to output low-z 8 ns thlqz (3) thz hold to output high-z 8 ns twhsl (5) write protect setup time 20 ns tshwl (5) write protect hold time 100 ns
dc and ac parameters N25Q128 - 1.8 v 174/185 figure 108. reset ac waveforms: program or erase cycle is in progress see table 34.: reset conditions . tvpphsl (6) enhanced program supply voltage high (vpph) to chip select low for single and dual i/o page program 200 ns tw write status regi ster cycle time 1.3 8 ms tcfsr clear flag status register cycle time 40 ns twnvcr write non volatile configuration register cycle time 0.2 3 s twvcr write volatile configuration register cycle time 40 ns twrvecr write volatile enhanced configurationregister cycle time 40 ns tpp (7) page program cycle time (n bytes) int(n/8) 0.015 (8) 5 ms program otp cycle time (64 bytes) 0.4 ms tsse subsector erase cycle time 0.2 2 s tse sector erase cycle time 0.7 3 s tbe bulk erase cycle time 170 250 s 1. tch + tcl must be greater than or equal to 1/ fc. 2. typical values given for ta = 25 c 3. value guaranteed by characterization, not 100% tested in production. 4. expressed as a slew-rate. 5. only applicable as a constraint for a wrsr instruction when srwd is set to '1'. 6. vpph should be kept at a valid level until the program or eras e operation has completed and its result (success or failure) is known. avoid applying vpph to the w/vpp pin during bulk erase. 7. when using the page program (pp) instruction to program consecutive bytes, optimized timings are obtained with one sequence including all the bytes versus seve ral sequences of only a few bytes (1 < n < 256). 8. int(a) corresponds to the upper integer part of a. for example int(12/8) = 2, int(32/8) = 4 int(15.3) =16. table 33. ac characteristics (page 2 of 2) symbol alt. parameter min typ (2) max unit ai06808 re se t trlrh s trhsl tshrh
N25Q128 - 1.8 v dc and ac parameters 175/185 figure 109. serial input timing table 34. reset conditions symbol alt. parameter conditions min typ max unit trlrh (1)(2) trst reset pulse width 50 ns trhsl (1) trec reset recovery time device selected (s low), while decoding any modify instruction, during all read operations, clfsr, wrdi, wren, wrlr, wrvcr, wrvecr. 40 ns under completion of an internal erase or program cycle related to potp, pp, diefp, difp, qiefp, qifp, se, be, per, pes. 30 s under completion of an sse operation. t sse ms under completion of an wrsr operation. t w ms under completion of an wrnvcr operation. t wnvcr ms under completion of the first wren issued when fast por selected. t dtw s device deselected (s high) and in xip mode. 40 ns device deselected (s high) and in standby mode. 40 ns tshrv (1) s# deselect to r valid deselect to r valid in quad output or in qio-spi. 2ns tdp s high to deep power down mode 3 s trdp s high to standby mode 30 s 1. all values are guaranteed by characteri zation and not 100% tested in production. 2. the device reset is possible but not guaranteed if trlrh < 50 ns. c dq0 ai13728 s msb in dq1 tdvch high impedance lsb in tslch tchdx tchcl tclch tshch tshsl tchsh tchsl
dc and ac parameters N25Q128 - 1.8 v 176/185 figure 110. write protect setup and hol d timing during wrsr when srwd=1 figure 111. hold timing c dq0 s dq1 high impedance w/v pp twhsl tshwl ai07439c c dq1 ai13746 s dq0 hold tchhl thlch thhch tchhh thhqx thlqz
N25Q128 - 1.8 v dc and ac parameters 177/185 figure 112. output timing figure 113. vpp h timing c dq1 ai13729 s lsb out dq0 addr. lsb in tshqz tch tcl tclqx tclqv tclqx tclqv s c dq0 v pp v pph ai13726-b tvpphsl end of command (identied by wip polling)
package mechanical N25Q128 - 1.8 v 178/185 15 package mechanical in order to meet environmental requirements, numonyx offers these devices in rohs compliant packages. these packages have a lead-free second level interconnect. the category of second level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. figure 114. vdfpn8 (mlp8) 8-lead very thin dual flat package no lead, 8 6 mm, package outline 1. drawing is not to scale. 2. the circle in the top view of the package indicates the position of pin 1. table 35. vdfpn8 (mlp8) 8-lead very thin dual flat package no lead, 8 6 mm, package mechanical data symbol millimeters inches typ min max typ min max a 0.85 1.00 0.033 0.039 a1 0.00 0.05 0.000 0.002 b 0.40 0.35 0.48 0.016 0.014 0.019 d8.00 0.315 d2 5.16 (1) 1. d2 max must not exceed (d ? k ? 2 l). 0.203 ddd 0.05 0.002 e6.00 0.236 e2 4.80 0.189 e1.27? ?0.050? ? k 0.82 0.032 l 0.50 0.45 0.60 0.020 0.018 0.024 l1 0.15 0.006 n8 8 d e vdfpn-02 a e e2 d2 l b l1 a1 ddd k
N25Q128 - 1.8 v package mechanical 179/185 figure 115. so16 wide - 16-lead plastic sm all outline, 300 mils body width, package outline 1. drawing is not to scale. table 36. so16 wide - 16-lead plastic small outline, 300 mils body width, mechanical data symbol millimeters inches typ min max typ min max a 2.35 2.65 0.093 0.104 a1 0.10 0.30 0.004 0.012 b 0.33 0.51 0.013 0.020 c 0.23 0.32 0.009 0.013 d 10.10 10.50 0.398 0.413 e 7.40 7.60 0.291 0.299 e1.27? ?0.050? ? h 10.00 10.65 0.394 0.419 h 0.25 0.75 0.010 0.030 l 0.40 1.27 0.016 0.050 0 8 0 8 ddd 0.10 0.004 e 16 d c h 1 8 9 so-h l a1 a ddd a2 b e h x 45?
package mechanical N25Q128 - 1.8 v 180/185 figure 116. tbga - 6 x 8 mm, 24-ball, mechanical package outline 1. drawing is not to scale. ?
N25Q128 - 1.8 v package mechanical 181/185 table 37. tbga 6x8 mm 24-ball package dimensions min nom max a1.20 a1 0.20 a2 0.79 ?b 0.35 0.40 0.45 d 5.90 6.00 6.10 d1 4.00 e 7.90 8.00 8.10 e1 4.00 ed 1.00 ee 1.00 fd 1.00 fe 2.00 md 5 me 5 n 24 balls aaa 0.15 bbb 0.10 ddd 0.10 eee 0.15 fff 0.08 control unit: mm
ordering information N25Q128 - 1.8 v 182/185 16 ordering information note: for further information on line items not listed here or on any aspect of this device, please contact your nearest numonyx sales office. table 38. ordering information scheme example: N25Q128 a 1 1 b f8 4 0 e device type n25q = serial flash memory, quad i/o, xip device density 128 = 128 mbit technology a = 65 nm feature set 1 = byte addressability, hold pin, numonyx xip 2 = byte addressability, hold pin, basic xip 3 = byte addressability, reset pin, numonyx xip 4 = byte addressability, reset pin, basic xip operating voltage 1 = vcc = 1.7 v to 2 v block structure b = bottom t = top e = uniform (no boot sectors) package f8 = vdfpn8 8 x 6 mm (mlp8) (rohs compliant) sf = so16 (300 mils width) (rohs compliant) 12 = tbga24 6 x 8 mm (rohs compliant) temperature and test flow 4 = industrial temperature range, ?40 to 85 c device tested with standard test flow a = automotive temperature range, ?40 to 125 c device tested with high reliability certified test flow h = industrial temperature range, ?40 to 85 c device tested with high reliability certified test flow security features (1) 0 = no extra security packing options e = tray packing f = tape and reel packing g = tube packing 1. additional secure options are available upon customer request.
N25Q128 - 1.8 v ordering information 183/185 note: packing information details: e= tray, f= ta pe-n-reel, g= tube (16th digit of part number). table 39. valid order information line items part number features block structure package temperature and test flow security N25Q128a11bf840e N25Q128a11bf840f byte addressability, hold pin, numonyx xip bottom vdfpn8 8x6 mm industrial temp; standard test flow no extra security N25Q128a21bf840e N25Q128a21bf840f byte addressability, hold pin, basic xip bottom vdfpn8 8x6 mm industrial temp; standard test flow no extra security N25Q128a11tf840e N25Q128a11tf840f byte addressability, hold pin, numonyx xip to p vdfpn8 8x6 mm industrial temp; standard test flow no extra security N25Q128a21tf840e N25Q128a21tf840f byte addressability, hold pin, basic xip to p vdfpn8 8x6 mm industrial temp; standard test flow no extra security N25Q128a11b1240e N25Q128a11b1240f byte addressability, hold pin, numonyx xip bottom tbga24 6x8 mm industrial temp; standard test flow no extra security N25Q128a21b1240e N25Q128a21b1240f byte addressability, hold pin, basic xip bottom tbga24 6x8 mm industrial temp; standard test flow no extra security N25Q128a11t1240e N25Q128a11t1240f byte addressability, hold pin, numonyx xip to p tbga24 6x8 mm industrial temp; standard test flow no extra security N25Q128a21t1240e N25Q128a21t1240f byte addressability, hold pin, basic xip to p tbga24 6x8 mm industrial temp; standard test flow no extra security N25Q128a11bsf40f N25Q128a11bsf40g byte addressability, hold pin, numonyx xip bottom so16 (300 mils width) industrial temp; standard test flow no extra security N25Q128a21bsf40f N25Q128a21bsf40g byte addressability, hold pin, basic xip bottom so16 (300 mils width) industrial temp; standard test flow no extra security N25Q128a11tsf40f N25Q128a11tsf40g byte addressability, hold pin, numonyx xip to p so16 (300 mils width) industrial temp; standard test flow no extra security N25Q128a21tsf40f N25Q128a21tsf40g byte addressability, hold pin, basic xip to p so16 (300 mils width) industrial temp; standard test flow no extra security
revision history N25Q128 - 1.8 v 184/185 17 revision history table 40. document revision history date revision changes 12-feb-2010 1.0 initial public release.
N25Q128 - 1.8 v 185/185 please read carefully: information in this document is provided in connection with numonyx? products. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. except as provided in numonyx's terms and conditions of sale for such products, numonyx assumes no liability whatsoever, and numonyx disclaims any express or implied warranty, relating to sale and/or use of numonyx products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. numonyx products are not intended for use in medical, life saving, life sustaining, critical control or safety systems, or in n uclear facility applications. numonyx may make changes to specifications and product descriptions at any time, without notice. numonyx, b.v. may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights th at relate to the presented subject matter. the furnishing of documents and other materials and information does not provide any license, express or implied, by estoppel or otherwise, to any such patents, trademarks, copyrights, or other intellectual property rights. designers must not rely on the absence or characteristics of any features or instructions marked ?reserved? or ?undefined.? num onyx reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. contact your local numonyx sales office or your distributor to obtain the latest specifications and before placing your product order. copies of documents which have an order number and are referenced in this document, or other numonyx literature may be obtained by visiting numonyx's website at http://www.numonyx.com . numonyx strataflash is a trademark or registered trademark of numonyx or its subsidiaries in the united states and other countr ies. *other names and brands may be claimed as the property of others. copyright ? 2010, numonyx b.v. all rights reserved.


▲Up To Search▲   

 
Price & Availability of N25Q128

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X